1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavformat
Andreas Rheinhardt e1f41b4fdc avformat/wavdec: Fix reading files with id3v2 apic before fmt tag
Up until now the cover images will get the stream index 0 in this case,
violating the hardcoded assumption that this is the index of the audio
stream. Fix this by creating the audio stream first; this is also in
line with the expectations of ff_pcm_read_seek() and
ff_spdif_read_packet(). It also simplifies the code to parse the fmt and
xma2 tags.

Fixes #8540; regression since f5aad350d3695b5b16e7d135154a4c61e4dce9d8.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-04-18 02:49:43 +02:00
..
2021-02-09 19:37:27 +01:00
2021-03-26 03:03:59 +01:00
2021-01-23 14:32:54 +01:00
2021-03-25 12:51:10 +10:00
2021-03-31 22:01:36 +02:00
2021-02-02 23:53:29 +01:00
2021-02-23 10:14:26 +01:00
2021-03-11 14:21:30 -05:00
2020-10-06 00:01:35 +08:00
2020-10-06 00:01:27 +08:00
2021-01-23 14:32:54 +01:00
2021-02-04 17:52:45 +01:00
2020-11-11 17:05:24 +01:00
2021-03-03 16:54:20 +01:00
2021-04-05 18:36:51 +02:00
2021-01-23 01:05:25 +01:00
2020-10-24 19:11:12 +02:00
2020-11-04 23:30:53 +01:00
2020-10-07 22:16:09 +02:00
2021-04-01 10:10:21 +02:00
2021-03-24 00:26:45 +01:00
2021-03-25 12:51:10 +10:00
2020-12-21 01:27:33 -05:00
2021-03-19 22:57:23 +01:00
2020-10-25 09:49:26 +01:00
2021-03-08 19:19:19 +01:00
2021-02-19 07:45:48 +01:00
2021-03-19 00:42:27 +01:00
2021-01-28 21:08:11 +01:00
2020-10-25 09:49:31 +01:00
2021-03-13 17:36:48 +01:00
2021-03-14 23:29:51 +01:00
2021-03-05 19:45:00 +02:00
2021-01-16 08:51:31 +08:00
2020-12-05 00:08:33 +01:00