[FFmpeg-devel] [PATCH 09/23] fftools/ffmpeg: stop handling AVMEDIA_TYPE_DATA in init_output_stream_encode()

Anton Khirnov anton at khirnov.net
Sat Mar 25 21:15:15 EET 2023


We do not support data encoders, so this should never be reached.
---
 fftools/ffmpeg.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index f00b2d44e4..a424c69725 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3174,8 +3174,6 @@ static int init_output_stream_encode(OutputStream *ost, AVFrame *frame)
             }
         }
 
-        break;
-    case AVMEDIA_TYPE_DATA:
         break;
     default:
         abort();
-- 
2.39.1



More information about the ffmpeg-devel mailing list