OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9935b
)
avcodec/flac_parser: Use sizeof(variable) instead of sizeof(type)
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 15 Jan 2015 15:48:54 +0000
(16:48 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 15 Jan 2015 16:09:39 +0000
(17:09 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/flac_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/flac_parser.c
b/libavcodec/flac_parser.c
index
0e45ab0
..
bc874c5
100644
(file)
--- a/
libavcodec/flac_parser.c
+++ b/
libavcodec/flac_parser.c
@@
-182,7
+182,7
@@
static int find_headers_search_validate(FLACParseContext *fpc, int offset)
size++;
}
- *end_handle = av_mallocz(sizeof(
FLACHeaderMarker
));
+ *end_handle = av_mallocz(sizeof(
**end_handle
));
if (!*end_handle) {
av_log(fpc->avctx, AV_LOG_ERROR,
"couldn't allocate FLACHeaderMarker\n");