ffmpeg | branch: master | Carl Eugen Hoyos <ceffm...@gmail.com> | Thu Jul 12 00:07:55 2018 +0200| [5545a6df879f0c94e7e74ddc6606e300716f390b] | committer: Carl Eugen Hoyos
lavc/h263dec: Remove a variable declaration that can lead to a warning. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5545a6df879f0c94e7e74ddc6606e300716f390b --- libavcodec/h263dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 5967fca285..2cf01e3d98 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -47,10 +47,9 @@ static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) { - MpegEncContext *s = avctx->priv_data; /* MPEG-4 Studio Profile only, not supported by hardware */ if (avctx->bits_per_raw_sample > 8) { - av_assert1(s->studio_profile); + av_assert1(((MpegEncContext *)avctx->priv_data)->studio_profile); return avctx->pix_fmt; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog