aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2012-01-01 23:59:00 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-02 03:38:58 +0100
commite2c1d3ec4128629d2f668243d37102506c9bd389 (patch)
treeebd004b76b648490fcc27945dd3bb604317e5fab
parentdfa77dead2c97ec84092066102b14a2524d4d88b (diff)
downloadffmpeg-e2c1d3ec4128629d2f668243d37102506c9bd389.tar.gz
flvdec: use av_uninit to silence compiler warnings
Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/flvdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 1fdcc4d842..7705c480a9 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -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 */