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 797365 - vaapih264enc/vaapih264feienc: unused value from coverity scan.
vaapih264enc/vaapih264feienc: unused value from coverity scan.
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-11-02 07:03 UTC by Fei
Modified: 2018-11-03 15:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.88 KB, patch)
2018-11-02 07:13 UTC, Fei
none Details | Review

Description Fei 2018-11-02 07:03:48 UTC
2 place of unused value from coverity scan:

643  seq_param->intra_idr_period = GST_VAAPI_ENCODER_KEYFRAME_PERIOD (feienc);
CID 370611 (#1 of 1): Unused value (UNUSED_VALUE)
assigned_value: Assigning value from 1U + feienc->num_bframes to seq_param->ip_period here, but that stored value is overwritten before it can be used.
644  seq_param->ip_period = 1 + feienc->num_bframes;
   	value_overwrite: Overwriting previous write to seq_param->ip_period with value from (seq_param->intra_period > 1U) ? 1U + feienc->num_bframes : 0U.
645  seq_param->ip_period = seq_param->intra_period > 1 ?
Comment 1 Fei 2018-11-02 07:13:56 UTC
Created attachment 374131 [details] [review]
patch
Comment 2 GStreamer system administrator 2018-11-03 15:56:38 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/113.