OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f8ef97
)
Decode stuff from extradata as well.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 3 Apr 2008 18:28:16 +0000
(18:28 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 3 Apr 2008 18:28:16 +0000
(18:28 +0000)
Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpeg12.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12.c
b/libavcodec/mpeg12.c
index
4e2df3a
..
96d37c7
100644
(file)
--- a/
libavcodec/mpeg12.c
+++ b/
libavcodec/mpeg12.c
@@
-2283,6
+2283,9
@@
static int mpeg_decode_frame(AVCodecContext *avctx,
s->slice_count= 0;
+ if(avctx->extradata && !avctx->frame_number)
+ decode_chunks(avctx, picture, data_size, avctx->extradata, avctx->extradata_size);
+
return decode_chunks(avctx, picture, data_size, buf, buf_size);
}