You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
mcdec: suppress "warning: a/vst may be used uninitialized in this function"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -229,7 +229,7 @@ static int mv_read_header(AVFormatContext *avctx)
|
|||||||
{
|
{
|
||||||
MvContext *mv = avctx->priv_data;
|
MvContext *mv = avctx->priv_data;
|
||||||
AVIOContext *pb = avctx->pb;
|
AVIOContext *pb = avctx->pb;
|
||||||
AVStream *ast, *vst;
|
AVStream *ast = NULL, *vst = NULL; //initialization to suppress warning
|
||||||
int version, i;
|
int version, i;
|
||||||
|
|
||||||
avio_skip(pb, 4);
|
avio_skip(pb, 4);
|
||||||
|
Reference in New Issue
Block a user