Browse Source

rv10 fix

Originally committed as revision 2544 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 21 years ago
parent
commit
40a12840b8
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      libavcodec/rv10.c

+ 3
- 2
libavcodec/rv10.c View File

@@ -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…
Cancel
Save