[FFmpeg-cvslog] r21617 - trunk/libavcodec/rawdec.c
cehoyos
subversion
Tue Feb 2 23:57:56 CET 2010
Author: cehoyos
Date: Tue Feb 2 23:57:56 2010
New Revision: 21617
Log:
Fix r21223: AVup samples (issue 1685) need a buf offset like AV1x (issue 1684).
Modified:
trunk/libavcodec/rawdec.c
Modified: trunk/libavcodec/rawdec.c
==============================================================================
--- trunk/libavcodec/rawdec.c Tue Feb 2 23:43:09 2010 (r21616)
+++ trunk/libavcodec/rawdec.c Tue Feb 2 23:57:56 2010 (r21617)
@@ -137,7 +137,8 @@ static int raw_decode(AVCodecContext *av
buf= dst;
}
- if(avctx->codec_tag == MKTAG('A', 'V', '1', 'x'))
+ if(avctx->codec_tag == MKTAG('A', 'V', '1', 'x') ||
+ avctx->codec_tag == MKTAG('A', 'V', 'u', 'p'))
buf += buf_size - context->length;
if(buf_size < context->length - (avctx->pix_fmt==PIX_FMT_PAL8 ? 256*4 : 0))
More information about the ffmpeg-cvslog
mailing list