[Bug 797365] New: vaapih264enc/vaapih264feienc: unused value from coverity scan.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 2 07:03:48 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797365

            Bug ID: 797365
           Summary: vaapih264enc/vaapih264feienc: unused value from
                    coverity scan.
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: fei.w.wang at intel.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

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 ?

-- 
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