diff options
author | Aman Gupta <aman@tmm1.net> | 2018-05-04 14:57:50 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2018-05-09 12:26:31 -0700 |
commit | a19bac8fc8b6a8df4030f79a6192b20492b02cef (patch) | |
tree | 3274d2e085fb96ffbb6f0f2be1304ec9687a90c0 /libavcodec | |
parent | 07d175d0b0b22912784f35d29e139cf025a03221 (diff) | |
download | ffmpeg-a19bac8fc8b6a8df4030f79a6192b20492b02cef.tar.gz |
avcodec/hevc: remove videotoolbox hack
No longer required since 63d875772d. The equivalent hack
for h264 was removed in that commit, but this one was missed.
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/hevc_refs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/hevc_refs.c b/libavcodec/hevc_refs.c index ac462d350b..68c730edcc 100644 --- a/libavcodec/hevc_refs.c +++ b/libavcodec/hevc_refs.c @@ -208,9 +208,6 @@ int ff_hevc_output_frame(HEVCContext *s, AVFrame *out, int flush) if (nb_output) { HEVCFrame *frame = &s->DPB[min_idx]; - if (frame->frame->format == AV_PIX_FMT_VIDEOTOOLBOX && frame->frame->buf[0]->size == 1) - return 0; - ret = av_frame_ref(out, frame->frame); if (frame->flags & HEVC_FRAME_FLAG_BUMPING) ff_hevc_unref_frame(s, frame, HEVC_FRAME_FLAG_OUTPUT | HEVC_FRAME_FLAG_BUMPING); |