[FFmpeg-cvslog] asfdec: avoid unused variable warning.
Michael Niedermayer
git at videolan.org
Tue Nov 15 02:35:31 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov 15 01:58:13 2011 +0100| [6760bd0a1900ee096de0ed02f98d13ef0430f965] | committer: Michael Niedermayer
asfdec: avoid unused variable warning.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6760bd0a1900ee096de0ed02f98d13ef0430f965
---
libavformat/asfdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index c8b8183..3ccc9b8 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -812,7 +812,7 @@ static int asf_read_frame_header(AVFormatContext *s, AVIOContext *pb){
ASFContext *asf = s->priv_data;
int rsize = 1;
int num = avio_r8(pb);
- int64_t ts0, ts1;
+ av_unused int64_t ts0, ts1;
asf->packet_segments--;
asf->packet_key_frame = num >> 7;
More information about the ffmpeg-cvslog
mailing list