lavc: replace API-bump-triggered AVCodecContext field change with shorter, non-confli...
authorDustin Brody <libav@parsoma.net>
Mon, 17 Oct 2011 01:22:02 +0000 (21:22 -0400)
committerAnton Khirnov <anton@khirnov.net>
Tue, 18 Oct 2011 10:28:22 +0000 (12:28 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/avcodec.h

index 593ee36..8298d5a 100644 (file)
@@ -2909,11 +2909,7 @@ typedef struct AVCodecContext {
      * - encoding: unused
      * - decoding: Set by user.
      */
-#if FF_API_ER
-    int error_recognition2;
-#else
-    int error_recognition;
-#endif /* FF_API_ER */
+    int err_recognition;
 #define AV_ER_CRCCHECK   (1<<0)
 #define AV_ER_BITSTREAM  (1<<1)
 #define AV_ER_AGGRESSIVE (1<<2)