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:
0cedc6c
)
avformat/nuv: use ff_get_extradata()
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 25 Dec 2013 15:37:42 +0000
(16:37 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 25 Dec 2013 16:38:29 +0000
(17:38 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/nuv.c
patch
|
blob
|
history
diff --git
a/libavformat/nuv.c
b/libavformat/nuv.c
index
32d0e02
..
2c02de1
100644
(file)
--- a/
libavformat/nuv.c
+++ b/
libavformat/nuv.c
@@
-86,9
+86,8
@@
static int get_codec_data(AVIOContext *pb, AVStream *vst,
av_freep(&vst->codec->extradata);
vst->codec->extradata_size = 0;
}
- if (ff_
alloc_extradata(vst->codec, size)
)
+ if (ff_
get_extradata(vst->codec, pb, size) < 0
)
return AVERROR(ENOMEM);
- avio_read(pb, vst->codec->extradata, size);
size = 0;
if (!myth)
return 0;