diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-07 15:47:07 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-11 14:38:18 +0200 |
commit | 5fc3eda8de40a7fb19a8052dde39325eaad38ba5 (patch) | |
tree | d2d9267dd7fa790ac0adf5b388881b3ec364fcd4 /libswresample/options.c | |
parent | 13d72cecd5df776349f624565dc88158bf782e3b (diff) | |
download | ffmpeg-5fc3eda8de40a7fb19a8052dde39325eaad38ba5.tar.gz |
avformat/utils: Avoid duplicating extradata from extract_extradata BSF
Instead move the extradata contained in packet side-data to its
destination. This is possible because the side data already has zeroed
padding.
Notice that the check for FF_MAX_EXTRADATA_SIZE has been dropped,
because said constant is from libavcodec/internal.h. If libavcodec
wanted to enforce this, it should do so in the extract_extradata BSF
instead.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libswresample/options.c')
0 files changed, 0 insertions, 0 deletions