Demuxers are not supposed to return the size of the packet read.
Unified · Split
| @@ -259,7 +259,7 @@ static int vqf_read_packet(AVFormatContext *s, AVPacket *pkt) · 258 unmodified lines | ||
| 259 | 259 | c->last_frame_bits = pkt->data[size+1]; |
| 260 | 260 | c->remaining_bits = (size << 3) - c->frame_bit_len + c->remaining_bits; |
| 261 | 261 | |
| 262 | − return size+2; | |
| 262 | + return 0; | |
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 | static int vqf_read_seek(AVFormatContext *s, |