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 748349 - mpegvideo_enc: initialize variables to prevent wrong info
mpegvideo_enc: initialize variables to prevent wrong info
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-libav
unspecified
Other Linux
: Normal minor
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-23 04:49 UTC by Vineeth
Modified: 2015-04-23 11:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
initialize variables before using (1.10 KB, patch)
2015-04-23 04:52 UTC, Vineeth
none Details | Review

Description Vineeth 2015-04-23 04:49:38 UTC
When mb info is being updated pred_x and pred_y are not initialized
 and the values for same are got only when CONFIG_H263_ENCODER
 is defined. This might result in wrong info being encoded.
Comment 1 Vineeth 2015-04-23 04:52:16 UTC
Created attachment 302195 [details] [review]
initialize variables before using
Comment 2 Tim-Philipp Müller 2015-04-23 11:55:28 UTC
Thanks for the patch, but we don't patch our libavcodec checkout locally.

Please submit this patch to the libav project, then it will hopefully be pulled in next time we update libav versions.