aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-07-12 00:07:55 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-07-13 01:01:06 +0200
commit5545a6df879f0c94e7e74ddc6606e300716f390b (patch)
tree18f70e62ef307e2b764404fcc4c12403be2862e9 /libavcodec/h263dec.c
parent7cd58a8a8c53bde42f3a5d271eb41e6b00004428 (diff)
downloadffmpeg-5545a6df879f0c94e7e74ddc6606e300716f390b.tar.gz
lavc/h263dec: Remove a variable declaration that can lead to a warning.
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c3
1 files changed, 1 insertions, 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;
}