[FFmpeg-cvslog] asfdec: mark only ts1 as av_unused
Michael Niedermayer
git at videolan.org
Tue Nov 15 13:30:34 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov 15 13:06:36 2011 +0100| [53cb0de25b0e2ad91109470c179ecf37752a6cdf] | committer: Michael Niedermayer
asfdec: mark only ts1 as av_unused
Idea-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=53cb0de25b0e2ad91109470c179ecf37752a6cdf
---
libavformat/asfdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 3ccc9b8..54d87bf 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);
- av_unused int64_t ts0, ts1;
+ int64_t ts0, ts1 av_unused;
asf->packet_segments--;
asf->packet_key_frame = num >> 7;
More information about the ffmpeg-cvslog
mailing list