aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/file.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-24 09:43:02 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-28 06:29:58 +0200
commit0df4e1ff930fedbcc7bf7b77acc7db101ce07c0b (patch)
tree2fe14e612dc26fb71481152771b4671b93373e92 /libavutil/file.h
parent40494460f51541530d8ce02ffee88b75d503e33d (diff)
downloadffmpeg-0df4e1ff930fedbcc7bf7b77acc7db101ce07c0b.tar.gz
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>
Diffstat (limited to 'libavutil/file.h')
0 files changed, 0 insertions, 0 deletions