Commit 53cb0de2 authored by Michael Niedermayer's avatar Michael Niedermayer

asfdec: mark only ts1 as av_unused

Idea-by: ubitux
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7ea39638
...@@ -812,7 +812,7 @@ static int asf_read_frame_header(AVFormatContext *s, AVIOContext *pb){ ...@@ -812,7 +812,7 @@ static int asf_read_frame_header(AVFormatContext *s, AVIOContext *pb){
ASFContext *asf = s->priv_data; ASFContext *asf = s->priv_data;
int rsize = 1; int rsize = 1;
int num = avio_r8(pb); int num = avio_r8(pb);
av_unused int64_t ts0, ts1; int64_t ts0, ts1 av_unused;
asf->packet_segments--; asf->packet_segments--;
asf->packet_key_frame = num >> 7; asf->packet_key_frame = num >> 7;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment