[FFmpeg-cvslog] fftools/ffmpeg: stop handling AVMEDIA_TYPE_DATA in init_output_stream_encode()

Anton Khirnov git at videolan.org
Sun Apr 9 16:50:21 EEST 2023


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Mar 24 17:12:32 2023 +0100| [237f9b9682a0f18345dcf6841527a795a32b3eb5] | committer: Anton Khirnov

fftools/ffmpeg: stop handling AVMEDIA_TYPE_DATA in init_output_stream_encode()

We do not support data encoders, so this should never be reached.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=237f9b9682a0f18345dcf6841527a795a32b3eb5
---

 fftools/ffmpeg.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 28f7d70b31..d74145183e 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();



More information about the ffmpeg-cvslog mailing list