mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
flvdec: use av_uninit to silence compiler warnings
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
dfa77dead2
commit
e2c1d3ec41
@ -452,7 +452,8 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
int stream_type=-1;
|
||||
int64_t next, pos;
|
||||
int64_t dts, pts = AV_NOPTS_VALUE;
|
||||
int sample_rate, channels;
|
||||
int av_uninit(channels);
|
||||
int av_uninit(sample_rate);
|
||||
AVStream *st = NULL;
|
||||
|
||||
for(;;avio_skip(s->pb, 4)){ /* pkt size is repeated at end. skip it */
|
||||
|
Loading…
Reference in New Issue
Block a user