]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
fix dead error condition
authorUkn Unknown <4031821+uknunknown@users.noreply.github.com>
Tue, 27 May 2025 03:36:34 +0000 (20:36 -0700)
committerFlole <Flole998@users.noreply.github.com>
Tue, 27 May 2025 12:01:20 +0000 (14:01 +0200)
Fixes coverity scan issues: 462150

src/transcoding/transcode/video.c

index a4b6090c40cf16e1f39c5cbb88b50e430a90f304..fbce82b774914fa6864a28c3d1737a9887c0c91d 100644 (file)
@@ -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);