From: Ukn Unknown <4031821+uknunknown@users.noreply.github.com> Date: Tue, 27 May 2025 03:36:34 +0000 (-0700) Subject: fix dead error condition X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=532c2a71f2f7ad938e6763db2f0f3013863fffc0;p=thirdparty%2Ftvheadend.git fix dead error condition Fixes coverity scan issues: 462150 --- diff --git a/src/transcoding/transcode/video.c b/src/transcoding/transcode/video.c index a4b6090c4..fbce82b77 100644 --- a/src/transcoding/transcode/video.c +++ b/src/transcoding/transcode/video.c @@ -424,8 +424,6 @@ tvh_video_context_wrap(TVHContext *self, AVPacket *avpkt, th_pkt_t *pkt) case AV_PICTURE_TYPE_B: pkt->v.pkt_frametype = PKT_B_FRAME; break; - case AV_PICTURE_TYPE_NONE: - break; default: tvh_context_log(self, LOG_WARNING, "unknown picture type: %d", pict_type);