mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/h263dec: Remove a variable declaration that can lead to a warning.
This commit is contained in:
parent
7cd58a8a8c
commit
5545a6df87
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user