mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +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)
|
||||
goto refuse_renegotiation;
|
||||
|
||||
pad = enc->sinkpad;
|
||||
|
||||
/* since mpeg encoder does not really check, let's check caps */
|
||||
if (!gst_video_info_from_caps (&enc->vinfo, caps))
|
||||
goto refuse_caps;
|
||||
|
|
Loading…
Reference in a new issue