xa: fix end-of-file handling
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 20 Mar 2012 15:53:56 +0000 (11:53 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 20 Mar 2012 18:12:53 +0000 (14:12 -0400)
commit64de57f64515001225ec8d8d6b3a7d567fc9cdcd
tree991f1129c99d4e1089ef3824a8d83549a9ceea9b
parentcd2ffb67ad9e9fec1766c501ad33e85dc934eeed
xa: fix end-of-file handling

Do not output an extra packet when out_size is reached.
Also return AVERROR_EOF instead of AVERROR(EIO).
libavformat/xa.c