rv10 fix
Originally committed as revision 2544 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
68b94c354d
commit
40a12840b8
@ -393,6 +393,7 @@ static int rv10_decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
s->avctx= avctx;
|
s->avctx= avctx;
|
||||||
s->out_format = FMT_H263;
|
s->out_format = FMT_H263;
|
||||||
|
s->codec_id= avctx->codec_id;
|
||||||
|
|
||||||
s->width = avctx->width;
|
s->width = avctx->width;
|
||||||
s->height = avctx->height;
|
s->height = avctx->height;
|
||||||
@ -414,9 +415,9 @@ static int rv10_decode_init(AVCodecContext *avctx)
|
|||||||
s->h263_rv10 = 1;
|
s->h263_rv10 = 1;
|
||||||
break;
|
break;
|
||||||
case 0x20001000:
|
case 0x20001000:
|
||||||
case 0x20100001:
|
case 0x20100001: //ok
|
||||||
case 0x20200002:
|
case 0x20200002:
|
||||||
case 0x20101001: //added
|
case 0x20101001: //ok
|
||||||
default:
|
default:
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "unknown header %X\n", avctx->sub_id);
|
av_log(s->avctx, AV_LOG_ERROR, "unknown header %X\n", avctx->sub_id);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user