[FFmpeg-devel] [PATCH 2/4] avformat/psxstr: fix demuxing I/O error at EOF

Michael Niedermayer michael at niedermayer.cc
Thu Jan 11 15:07:59 EET 2024


On Tue, Jan 02, 2024 at 02:52:11AM +0000, aybe aybe wrote:
> This second patch fixes the following error at the end of a .STR stream conversion:
> 
> [in#0/psxstr @ 0000000000681e80] Error during demuxing: I/O error
> 
> It's been a bit of trial and error as I've never used ffmpeg, but returning AVERROR_EOF appears to be the way to go (doesn't complain anymore).
> 
> Signed-off-by: aybe <aybe at users.noreply.github.com>
> ---
>   libavformat/psxstr.c | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240111/a38bad5f/attachment.sig>


More information about the ffmpeg-devel mailing list