diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2008-11-29 10:06:37 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2008-11-29 10:06:37 +0000 |
commit | d041a5989792426033c82770f609fc1086d84139 (patch) | |
tree | 246632de6347e69f9b240542104c80420a67e951 /libavcodec/dca.c | |
parent | d33ee3f2b11ea29d420675d6d6c9d61813007888 (diff) | |
download | ffmpeg-d041a5989792426033c82770f609fc1086d84139.tar.gz |
Add support for parsing and decoding DCA-HD streams.
Originally committed as revision 15951 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r-- | libavcodec/dca.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c index bfadc686ee..dbd11526ff 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -1175,8 +1175,9 @@ static int dca_convert_bitstream(const uint8_t * src, int src_size, uint8_t * ds PutBitContext pb; if((unsigned)src_size > (unsigned)max_size) { - av_log(NULL, AV_LOG_ERROR, "Input frame size larger then DCA_MAX_FRAME_SIZE!\n"); - return -1; +// av_log(NULL, AV_LOG_ERROR, "Input frame size larger then DCA_MAX_FRAME_SIZE!\n"); +// return -1; + src_size = max_size; } mrk = AV_RB32(src); |