1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-20 07:48:15 +02:00
FFmpeg/libavformat
Andreas Rheinhardt 0df4e1ff93 avformat/smacker: Fix duration for PCM audio
For non-PCM audio, a Smacker frame contains the size of the decoded
audio in the first four bytes of the audio packet data; for PCM data,
said information would be redundant and according to [1] this field does
not exist. Therefore this commit sets the duration and timestamps
properly for PCM audio.

[1]: https://wiki.multimedia.cx/index.php/Smacker#Audio_Track_Chunk

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-07-28 06:29:58 +02:00
..
2019-12-12 19:25:33 +01:00
2020-07-21 11:36:14 +10:00
2019-12-12 19:25:33 +01:00
2020-07-21 11:36:14 +10:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2020-03-17 16:05:49 +01:00
2019-12-25 22:10:47 +01:00
2020-06-22 12:19:56 +02:00
2019-12-12 19:25:33 +01:00
2020-03-17 16:04:42 +01:00
2020-03-17 16:08:13 +01:00
2020-05-30 18:02:55 +02:00
2020-05-31 00:55:12 +02:00
2020-07-21 11:36:14 +10:00
2020-06-18 21:31:13 +02:00
2019-12-12 19:25:33 +01:00
2020-04-19 02:37:46 +02:00
2019-12-12 19:25:33 +01:00
2020-03-17 22:46:36 +01:00
2019-12-12 19:25:33 +01:00
2020-04-23 20:09:38 +02:00
2020-06-06 00:25:00 +02:00
2020-06-06 00:25:00 +02:00
2020-05-19 20:09:25 +02:00
2020-02-16 12:54:57 +01:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2020-06-04 10:52:42 +02:00
2020-06-13 00:43:09 +02:00
2019-12-12 19:25:33 +01:00
2020-07-21 11:36:14 +10:00
2020-02-20 14:41:26 +01:00
2020-03-12 18:47:39 +01:00
2020-07-26 16:47:01 +02:00