aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-11-30 17:30:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-30 17:30:18 +0000
commit43dc0bfd2ecb7e634255d74c13715b771e471892 (patch)
tree7bac37d5b2966aab88cb6f803d1741e81460519d /libavcodec/mpegvideo.c
parent40a12840b83b1d4ca8080e8a8fc589d2a32edc99 (diff)
downloadffmpeg-43dc0bfd2ecb7e634255d74c13715b771e471892.tar.gz
cleanup
Originally committed as revision 2545 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 1fe94e729e..346c3c3c0b 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -796,7 +796,6 @@ int MPV_encode_init(AVCodecContext *avctx)
break;
case CODEC_ID_RV10:
s->out_format = FMT_H263;
- s->h263_rv10 = 1;
avctx->delay=0;
s->low_delay=1;
break;
@@ -3782,7 +3781,7 @@ static void encode_picture(MpegEncContext *s, int picture_number)
msmpeg4_encode_picture_header(s, picture_number);
else if (s->h263_pred)
mpeg4_encode_picture_header(s, picture_number);
- else if (s->h263_rv10)
+ else if (s->codec_id == CODEC_ID_RV10)
rv10_encode_picture_header(s, picture_number);
else if (s->codec_id == CODEC_ID_FLV1)
ff_flv_encode_picture_header(s, picture_number);