Skip to content
Snippets Groups Projects
Commit d6c80d36 authored by Milan Cutka's avatar Milan Cutka Committed by Michael Niedermayer
Browse files

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
parent ae2f1d46
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment