mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
mpeg2enc: remove dead assignment
Coverity 1139829
This commit is contained in:
parent
9eab659d1d
commit
084c4d5dc4
1 changed files with 0 additions and 2 deletions
|
@ -381,8 +381,6 @@ gst_mpeg2enc_setcaps (GstMpeg2enc * enc, GstPad * pad, GstCaps * caps)
|
||||||
if (enc->encoder)
|
if (enc->encoder)
|
||||||
goto refuse_renegotiation;
|
goto refuse_renegotiation;
|
||||||
|
|
||||||
pad = enc->sinkpad;
|
|
||||||
|
|
||||||
/* since mpeg encoder does not really check, let's check caps */
|
/* since mpeg encoder does not really check, let's check caps */
|
||||||
if (!gst_video_info_from_caps (&enc->vinfo, caps))
|
if (!gst_video_info_from_caps (&enc->vinfo, caps))
|
||||||
goto refuse_caps;
|
goto refuse_caps;
|
||||||
|
|
Loading…
Reference in a new issue