summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Cutka <cutka@szm.sk>2005-02-17 19:03:12 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-02-17 19:03:12 +0000
commitd6c80d3633b9fe1d0470ab2e060c050a167cfa42 (patch)
tree6be3197b2c53d8f76481be7d5fde8ac382b350d4
parentae2f1d4624dc372aa86f85aeb47f820f48a4af38 (diff)
Fixed decoding of 410p ffv1 files patch by (Milan Cutka <cutka szm sk>)
Originally committed as revision 3964 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ffv1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 737e3f4114..cd1fa73688 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -889,7 +889,7 @@ static int read_header(FFV1Context *f){
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;