projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3be0f
)
msmpeg4 bugfix (wrong frame displayed if some frames are skipped)
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 18 Mar 2002 21:06:07 +0000
(21:06 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 18 Mar 2002 21:06:07 +0000
(21:06 +0000)
Originally committed as revision 339 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h263dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/h263dec.c
b/libavcodec/h263dec.c
index
24e3729
..
5da9ac5
100644
(file)
--- a/
libavcodec/h263dec.c
+++ b/
libavcodec/h263dec.c
@@
-238,7
+238,7
@@
static int h263_decode_frame(AVCodecContext *avctx,
MPV_frame_end(s);
- if(s->pict_type==B_TYPE){
+ if(s->pict_type==B_TYPE
|| (!s->has_b_frames)
){
pict->data[0] = s->current_picture[0];
pict->data[1] = s->current_picture[1];
pict->data[2] = s->current_picture[2];