On Sat, 4 Mar 2023, asivery wrote:

Could someone please take a look? This would improve AEA demuxing, right now 
every AEA file makes ffmpeg crash with an error.

The way I see it, you could simply replace the whole body of aea_read_packet() with this single line:

return av_get_packet(s->pb, pkt, s->streams[0]->codecpar->block_align);

Regards,
Marton

Thank you in advance :)
------- Original Message -------
On Saturday, October 22nd, 2022 at 7:43 PM, asivery <asiv...@protonmail.com> 
wrote:

Hello,
This patch aims to fix a problem I've noticed while working with AEA (Sony 
ATRAC1 comtainer) files.
Right now FFmpeg always exits with an "Input/Output error" when dealing with 
AEA files.
This patch solves that issue by returning AVERROR_EOF once the end of file is 
encountered, instead of always returning AVERROR(EIO).

I am sending this patch again because of an incorrect mime type of the first 
one.

Best regards,Asivery
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to