Commit 27af88fb authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/vqf: Return 0 on success in read_packet

Demuxers are not supposed to return the size of the packet read.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 29aa499f
......@@ -259,7 +259,7 @@ static int vqf_read_packet(AVFormatContext *s, AVPacket *pkt)
c->last_frame_bits = pkt->data[size+1];
c->remaining_bits = (size << 3) - c->frame_bit_len + c->remaining_bits;
return size+2;
return 0;
}
static int vqf_read_seek(AVFormatContext *s,
......
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