GNOME Bugzilla – Bug 586354
[h264parse] blocked in infinite loop while parsing a corrupted frame
Last modified: 2009-06-22 09:21:24 UTC
while parsing a corrupted frame h264parse is blocked in infinite loop. the command line to reproduice the bug: gst-launch filesrc location=h264_bad_frame.avi ! avidemux ! h264parse split-packetized=true ! ffdec_h264 ! ffmpegcolorspace ! ximagesink
Created attachment 136984 [details] file with bad frame
commit 1cf9f2d497cf882a179cdfd677900c690cef58ee Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Jun 22 11:19:07 2009 +0200 h264parse: detect and fix for bad NALU sizes when in AVC mode a nalu size seems invalid, assume the NALU has the size of the available data instead of looping forever. Fixes #586354