diff options
author | wm4 <nfxjfg@googlemail.com> | 2016-04-28 15:34:15 +0200 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2016-04-29 10:35:00 +0200 |
commit | 66dd21d50be14a355e296b769d9d99090c0207f7 (patch) | |
tree | 48dc46f0f3aeaaa651443110bcb3ebfa78e7a7ce /cmdutils_opencl.c | |
parent | 78baa450d9939957f52d5187beb95d763d2f1f18 (diff) | |
download | ffmpeg-66dd21d50be14a355e296b769d9d99090c0207f7.tar.gz |
avcodec/utils: split side-data in new decode API too
The deprecated avcodec_decode_video2() and avcodec_decode_audio4()
functions called av_packet_split_side_data() on the input packets. This
is required for packets produced by libavformat with the
AVFMT_FLAG_KEEP_SIDE_DATA flag unset (which is unfortunately the
default).
The new API didn't do this yet, although it didn't matter as no decoder
supports the new API yet. The emulation layer for the old API calls the
old API functions, which took care of the splitting. Add this code to
the new API codec entrypoints too, because we shouldn't send essentially
corrupted data to decoders.
Diffstat (limited to 'cmdutils_opencl.c')
0 files changed, 0 insertions, 0 deletions