]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/formats.c
movenc: remove uses of deprecated API.
[ffmpeg] / libavfilter / formats.c
index 5e65c2968dd3ae667295a5c111e5b15a7193da7e..101ef09e5f308d3016853c063898c994a36b6b8b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Filter layer - format negotiation
- * copyright (c) 2007 Bobby Bingham
+ * Copyright (c) 2007 Bobby Bingham
  *
  * This file is part of FFmpeg.
  *
@@ -108,7 +108,7 @@ AVFilterFormats *avfilter_all_formats(enum AVMediaType type)
     AVFilterFormats *ret = NULL;
     int fmt;
     int num_formats = type == AVMEDIA_TYPE_VIDEO ? PIX_FMT_NB    :
-                      type == AVMEDIA_TYPE_AUDIO ? SAMPLE_FMT_NB : 0;
+                      type == AVMEDIA_TYPE_AUDIO ? AV_SAMPLE_FMT_NB : 0;
 
     for (fmt = 0; fmt < num_formats; fmt++)
         if ((type != AVMEDIA_TYPE_VIDEO) ||