]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.c
flashsvenc: fix image sizes below 192x192
[ffmpeg] / cmdutils.c
index 3d5c5f2bcc69cc751be17bda7af7c10da3bf2fb8..2879a420c180f5d85495f754929b6db792ab87f0 100644 (file)
@@ -38,6 +38,7 @@
 #if CONFIG_POSTPROC
 #include "libpostproc/postprocess.h"
 #endif
+#include "libavutil/avassert.h"
 #include "libavutil/avstring.h"
 #include "libavutil/mathematics.h"
 #include "libavutil/parseutils.h"
@@ -1075,7 +1076,7 @@ int check_stream_specifier(AVFormatContext *s, AVStream *st, const char *spec)
         case 's': type = AVMEDIA_TYPE_SUBTITLE;   break;
         case 'd': type = AVMEDIA_TYPE_DATA;       break;
         case 't': type = AVMEDIA_TYPE_ATTACHMENT; break;
-        default: abort(); // never reached, silence warning
+        default:  av_assert0(0);
         }
         if (type != st->codec->codec_type)
             return 0;