aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-07-18 11:47:14 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-07-18 11:47:14 +0000
commit42928ccbc24b2a9f4f6777d36e63fc1981783448 (patch)
treef02522ce1f143c9bf65594f04bd4030a519eacc8
parent7a06ff148d0321e863a682334c59f59b3e8e7b6d (diff)
downloadffmpeg-42928ccbc24b2a9f4f6777d36e63fc1981783448.tar.gz
svq3 b frame slices fix
Originally committed as revision 2065 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index a24500dabf..d25cc4895f 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -2730,7 +2730,7 @@ void ff_draw_horiz_band(MpegEncContext *s, int y, int h){
int offset[4];
h= FFMIN(h, s->height - y);
- if(s->pict_type==B_TYPE && s->picture_structure == PICT_FRAME){
+ if(s->pict_type==B_TYPE && s->picture_structure == PICT_FRAME && s->out_format != FMT_H264){
offset[0]=
offset[1]=
offset[2]=