diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-20 14:37:38 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-25 14:53:49 +0200 |
commit | a7e54196cc94a71c44dd0bd4b91641740a7caf20 (patch) | |
tree | 013617ab21c02dbe0711c5f08f8bf219921b3279 /libavcodec/g722dec.c | |
parent | 7ae1c0dd3ef8038f541716eb283380fd196041ad (diff) | |
download | ffmpeg-a7e54196cc94a71c44dd0bd4b91641740a7caf20.tar.gz |
avcodec/cbs: Only write extradata if there is something to write
It is e.g. legal for an ISOBMFF avcc to contain zero parameter sets.
In this case the annex B that we produce would be empty and therefore
useless. This happens e.g. with mov/frag_overlap.mp4 from the
FATE-suite.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/g722dec.c')
0 files changed, 0 insertions, 0 deletions