changeset 2512:a7779d61c8ce libavcodec

Fixed decoding of 410p ffv1 files patch by (Milan Cutka <cutka szm sk>)
author michael
date Thu, 17 Feb 2005 19:03:12 +0000
parents 366e8a09eb6e
children ab32402c7e09
files ffv1.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ffv1.c	Thu Feb 17 19:00:42 2005 +0000
+++ b/ffv1.c	Thu Feb 17 19:03:12 2005 +0000
@@ -889,7 +889,7 @@
         case 0x10: f->avctx->pix_fmt= PIX_FMT_YUV422P; break;
         case 0x11: f->avctx->pix_fmt= PIX_FMT_YUV420P; break;
         case 0x20: f->avctx->pix_fmt= PIX_FMT_YUV411P; break;
-        case 0x33: f->avctx->pix_fmt= PIX_FMT_YUV410P; break;
+        case 0x22: f->avctx->pix_fmt= PIX_FMT_YUV410P; break;
         default:
             av_log(f->avctx, AV_LOG_ERROR, "format not supported\n");
             return -1;