After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586354 - [h264parse] blocked in infinite loop while parsing a corrupted frame
[h264parse] blocked in infinite loop while parsing a corrupted frame
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.12
Other Linux
: Normal normal
: 0.10.14
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-19 09:36 UTC by Benjamin Gaignard
Modified: 2009-06-22 09:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
file with bad frame (986.62 KB, video/x-msvideo)
2009-06-19 09:39 UTC, Benjamin Gaignard
Details

Description Benjamin Gaignard 2009-06-19 09:36:42 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
Comment 1 Benjamin Gaignard 2009-06-19 09:39:53 UTC
Created attachment 136984 [details]
file with bad frame
Comment 2 Wim Taymans 2009-06-22 09:21:24 UTC
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