You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavf/mpeg: suppress warning: lpcm_header_len may be used uninitialized in this function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -382,7 +382,7 @@ static int mpegps_read_packet(AVFormatContext *s,
|
|||||||
MpegDemuxContext *m = s->priv_data;
|
MpegDemuxContext *m = s->priv_data;
|
||||||
AVStream *st;
|
AVStream *st;
|
||||||
int len, startcode, i, es_type, ret;
|
int len, startcode, i, es_type, ret;
|
||||||
int lpcm_header_len;
|
int lpcm_header_len = -1; //Init to supress warning
|
||||||
int request_probe= 0;
|
int request_probe= 0;
|
||||||
enum AVCodecID codec_id = AV_CODEC_ID_NONE;
|
enum AVCodecID codec_id = AV_CODEC_ID_NONE;
|
||||||
enum AVMediaType type;
|
enum AVMediaType type;
|
||||||
|
Reference in New Issue
Block a user