OSDN Git Service

Make iff.c:decode_init return the value returned by
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 13 Mar 2010 19:19:40 +0000 (19:19 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 13 Mar 2010 19:19:40 +0000 (19:19 +0000)
commit0edfa79b23163be51d3ee1678f5ff87b5207f636
treed3efaa930cf0f87be1e67ce2f8caac141089ad48
parent382b5b3a0ca57c28191f8d44cb3411bb4ac4ce5e
Make iff.c:decode_init return the value returned by
avctx->get_buffer() in case of error, rather than AVERROR_UNKNOWN
which is deprecated, and mark AVERROR_UNKNOWN for deletion at the next
major bump.

Originally committed as revision 22512 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/iff.c
libavutil/error.h