Commit e9c4f36c authored by Michael Niedermayer's avatar Michael Niedermayer

lavf/mpeg: suppress warning: lpcm_header_len may be used uninitialized in this function

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7681b8e9
......@@ -382,7 +382,7 @@ static int mpegps_read_packet(AVFormatContext *s,
MpegDemuxContext *m = s->priv_data;
AVStream *st;
int len, startcode, i, es_type, ret;
int lpcm_header_len;
int lpcm_header_len = -1; //Init to supress warning
int request_probe= 0;
enum AVCodecID codec_id = AV_CODEC_ID_NONE;
enum AVMediaType type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment