Ticket #302 (new defect)

Opened 1 year ago

Parse failed warnings with mpeg4/avi N-vops

Reported by: astrange Assigned to:
Priority: normal Milestone: 1.2
Component: decompression Version:
Severity: normal Keywords:
Cc:

Description

http://astrange.ithinksw.net/qt/clannad4-nvops.mov

This is from an xvid avi which seems to be encoded without B-frames and with frame_drop_ratio > 0, so it has 7-byte N-vop frames when there's no motion, such as right at the beginning. parse_mpeg4_stream() errors out, because ff_mpeg4_decode_picture_header() returns FRAME_DROPPED, which is then treated as an error.

I tried to fix it, but marking them as skippable P-frames (which sounds reasonable) breaks playback of packed-B-frame streams.