diff options
author | John-Paul Stewart <[email protected]> | 2021-12-31 20:11:47 -0500 |
---|---|---|
committer | Peter Ross <[email protected]> | 2022-01-08 09:21:21 +1100 |
commit | a8da11514347255f49e44d249075a1289ce250c9 (patch) | |
tree | 38207453f72a6f9754a2c2965b0147a0d8dd6a86 /libavutil/mips/generic_macros_msa.h | |
parent | 24b93022fee322c7a17e326e2d162a1fbc3698ee (diff) |
avformat/mvdec: make audio stream conditional
Only allocate an audio stream if there is one in the data. Silicon
Graphics movie format will contain default values (16 bit samples, 2
audio channels, 22050 Hz sample rate) even when no audio is present in
the file. This confuses FFmpeg into thinking such an audio stream is
present with 0 samples in it.
There is a flag value in the format to indicate whether or not audio is
present. This patch checks that and behaves accordingly.
Signed-off-by: John-Paul Stewart <[email protected]>
Reviewed-by: Andreas Rheinhardt <[email protected]>
Reviewed-by: Peter Ross <[email protected]>
Diffstat (limited to 'libavutil/mips/generic_macros_msa.h')
0 files changed, 0 insertions, 0 deletions