diff options
author | Jean First <jeanfirst@gmail.com> | 2012-01-02 02:59:00 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-02 06:38:58 +0400 |
commit | e2c1d3ec4128629d2f668243d37102506c9bd389 (patch) | |
tree | ebd004b76b648490fcc27945dd3bb604317e5fab /libavformat/flvdec.c | |
parent | dfa77dead2c97ec84092066102b14a2524d4d88b (diff) |
flvdec: use av_uninit to silence compiler warnings
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r-- | libavformat/flvdec.c | 3 |
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 */ |