mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue