diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-10-31 15:15:27 +0100 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2017-11-13 15:10:07 -0800 |
commit | 9283a4f19b762b25bc8e5e8f402fefb9097a1397 (patch) | |
tree | f7baeb3fd965dfcfa7d39a93498fc7d0276b90d1 /libavcodec/rpza.c | |
parent | b7f963c4444d709a89156fb0f094c232fe1eacd6 (diff) | |
download | ffmpeg-9283a4f19b762b25bc8e5e8f402fefb9097a1397.tar.gz |
avcodec/videotoolbox: fix opaque_ref handling
This is a partial fix - to fix videotoolbox fully (with multithreaded
hwaccel decoding), much more work would be required.
Before this change, an assertion failure would trigger:
$ ffmpeg -hwaccel videotoolbox -hwaccel_output_format videotoolbox_vld -i h264.ts -f null -y /dev/null
Assertion (frame->private_ref && frame->private_ref->size == sizeof(FrameDecodeData)) || !(avctx->codec->capabilities & (1 << 1)) failed at libavcodec/decode.c:620
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavcodec/rpza.c')
0 files changed, 0 insertions, 0 deletions