[Bug 702003] [libav] renegotiation might cause corrupted video

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 11 04:35:22 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702003
  GStreamer | gst-libav | 1.x

--- Comment #1 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2013-06-11 11:35:20 UTC ---
Created an attachment (id=246498)
 View: https://bugzilla.gnome.org/attachment.cgi?id=246498
 Review: https://bugzilla.gnome.org/review?bug=702003&attachment=246498

avviddec: reset coded_width/_height before trying to open codec

If coded_width/_height is supplied, the codec might use it as the
width/height and if it is wrong can lead to segfaults or video
corruption.

This is specially harmful on renegotiation scenarios where the
resolution changed. There seems to be no specific function for reseting
the AV Context in libav, so just set it directly.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list