[FFmpeg-cvslog] flvdec: use av_uninit to silence compiler warnings
Jean First
git at videolan.org
Mon Jan 2 04:03:51 CET 2012
ffmpeg | branch: master | Jean First <jeanfirst at gmail.com> | Sun Jan 1 23:59:00 2012 +0100| [e2c1d3ec4128629d2f668243d37102506c9bd389] | committer: Michael Niedermayer
flvdec: use av_uninit to silence compiler warnings
Signed-off-by: Jean First <jeanfirst at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2c1d3ec4128629d2f668243d37102506c9bd389
---
libavformat/flvdec.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 1fdcc4d..7705c48 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 */
More information about the ffmpeg-cvslog
mailing list