[FFmpeg-cvslog] mpegvideo: remove write-only variable
Mans Rullgard
git at videolan.org
Sat Oct 13 15:48:56 CEST 2012
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Thu Oct 11 21:51:41 2012 +0100| [7e76fc528d60bad588bfba82c7c38b3991de48d0] | committer: Mans Rullgard
mpegvideo: remove write-only variable
Signed-off-by: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7e76fc528d60bad588bfba82c7c38b3991de48d0
---
libavcodec/mpegvideo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index ff9b865..d6f7af2 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;
More information about the ffmpeg-cvslog
mailing list