Skip to content
Snippets Groups Projects
Commit 5545a6df authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

lavc/h263dec: Remove a variable declaration that can lead to a warning.

parent 7cd58a8a
No related branches found
No related tags found
No related merge requests found
...@@ -47,10 +47,9 @@ ...@@ -47,10 +47,9 @@
static enum AVPixelFormat h263_get_format(AVCodecContext *avctx) static enum AVPixelFormat h263_get_format(AVCodecContext *avctx)
{ {
MpegEncContext *s = avctx->priv_data;
/* MPEG-4 Studio Profile only, not supported by hardware */ /* MPEG-4 Studio Profile only, not supported by hardware */
if (avctx->bits_per_raw_sample > 8) { if (avctx->bits_per_raw_sample > 8) {
av_assert1(s->studio_profile); av_assert1(((MpegEncContext *)avctx->priv_data)->studio_profile);
return avctx->pix_fmt; return avctx->pix_fmt;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment