avformat/vqf: Return 0 on success in read_packet

Demuxers are not supposed to return the size of the packet read.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-17 20:38:11 +01:00
parent 29aa499fc9
commit 27af88fb7f
1 changed files with 1 additions and 1 deletions

View File

@ -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,