diff options
author | Mans Rullgard <mans@mansr.com> | 2012-10-11 21:51:41 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-10-12 22:21:10 +0100 |
commit | 7e76fc528d60bad588bfba82c7c38b3991de48d0 (patch) | |
tree | 92634c8251c5b894c73f30b1a967e7eece2afbcc /libavcodec/mpegvideo.c | |
parent | 717addecad77d85d329a4b502f4098d4912679d7 (diff) | |
download | ffmpeg-7e76fc528d60bad588bfba82c7c38b3991de48d0.tar.gz |
mpegvideo: remove write-only variable
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index ff9b865e0a..d6f7af2f4a 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -826,7 +826,7 @@ fail: */ av_cold int ff_MPV_common_init(MpegEncContext *s) { - int i, err; + int i; int nb_slices = (HAVE_THREADS && s->avctx->active_thread_type & FF_THREAD_SLICE) ? s->avctx->thread_count : 1; @@ -913,7 +913,7 @@ av_cold int ff_MPV_common_init(MpegEncContext *s) } if (s->width && s->height) { - if ((err = init_context_frame(s))) + if (init_context_frame(s)) goto fail; s->parse_context.state = -1; |