Opened 10 years ago

Closed 10 years ago

#6910 closed patch (fixed)

Fix H264 SEI parsing

Reported by: jppoet@… Owned by: Janne Grunau
Priority: major Milestone: 0.22
Component: MythTV - Recording Version: head
Severity: medium Keywords: H.264
Cc: Ticket locked: no

Description

ff_find_start_code returns the position after the start code, so backup 4 bytes when calculating the length of the SEI message.

Attachments (1)

H264Parser-fix-SEI.patch (743 bytes) - added by jppoet@… 10 years ago.
Subtract 4, so we don't consume the next start code

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by jppoet@…

Attachment: H264Parser-fix-SEI.patch added

Subtract 4, so we don't consume the next start code

comment:1 Changed 10 years ago by Janne Grunau

Owner: changed from danielk to Janne Grunau
Status: newaccepted

comment:2 Changed 10 years ago by Janne Grunau

Resolution: fixed
Status: acceptedclosed

(In [21524]) prevent H264 SEI parsing from consuming the next start code. Fixes #6850, Fixes #6910

patch by: John P Poet < jppoet gmail com >

Note: See TracTickets for help on using tickets.