]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libschroedinger.c
8svx: fix memleak in iff-fibonacci fate test.
[ffmpeg] / libavcodec / libschroedinger.c
index 04c15a2a01a8ca85c3db3a22a3ab7516373a5eec..a2ea5ddbdc7ef83f8850486f9d921495465a2df0 100644 (file)
@@ -20,7 +20,7 @@
 
 /**
 * @file
-* function definitions common to libschroedingerdec.c and libschroedingerenc.c
+* function definitions common to libschroedinger decoder and encoder
 */
 
 #include "libdirac_libschro.h"
@@ -64,14 +64,14 @@ SchroVideoFormatEnum ff_get_schro_video_format_preset(AVCodecContext *avccontext
 int ff_get_schro_frame_format (SchroChromaFormat schro_pix_fmt,
                                SchroFrameFormat  *schro_frame_fmt)
 {
-    unsigned int num_formats = sizeof(ffmpeg_schro_pixel_format_map) /
-                               sizeof(ffmpeg_schro_pixel_format_map[0]);
+    unsigned int num_formats = sizeof(schro_pixel_format_map) /
+                               sizeof(schro_pixel_format_map[0]);
 
     int idx;
 
     for (idx = 0; idx < num_formats; ++idx) {
-        if (ffmpeg_schro_pixel_format_map[idx].schro_pix_fmt == schro_pix_fmt) {
-            *schro_frame_fmt = ffmpeg_schro_pixel_format_map[idx].schro_frame_fmt;
+        if (schro_pixel_format_map[idx].schro_pix_fmt == schro_pix_fmt) {
+            *schro_frame_fmt = schro_pixel_format_map[idx].schro_frame_fmt;
             return 0;
         }
     }