diff options
author | Juanjo <pulento@users.sourceforge.net> | 2001-08-31 06:21:27 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2001-08-31 06:21:27 +0000 |
commit | 544286b3d39365b30298ae07e66a755200b0895c (patch) | |
tree | 94d51286672db7271843fbfab360255e5bfb9108 /libavcodec/mpegvideo.c | |
parent | 6dbd39fe70f094ab178bc788369379e2229dd630 (diff) | |
download | ffmpeg-544286b3d39365b30298ae07e66a755200b0895c.tar.gz |
Moved some H.263+ variables to MpegEncContext to be thread-safe.
Increase video_buffer on ffmpeg to avoid buffer overrun on big pictures.
Originally committed as revision 114 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 6fd2a01fd7..40dbcf1e1e 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -278,6 +278,10 @@ int MPV_encode_init(AVCodecContext *avctx) s->out_format = FMT_H263; s->h263_plus = 1; s->unrestricted_mv = 1; + + /* These are just to be sure */ + s->umvplus = 0; + s->umvplus_dec = 0; break; case CODEC_ID_RV10: s->out_format = FMT_H263; |