diff options
author | Mark Wu <wfwf1997@gmail.com> | 2018-10-23 12:49:08 +0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-11-10 15:24:41 -0300 |
commit | 263b3ad407496a539b57f4fe118c051f7fb5a5f0 (patch) | |
tree | f99644c4fc9a1b81003e357f6ab7243840fd44d9 /libavcodec/intelh263dec.c | |
parent | dee8f4b01bfeca7cc4080d20b6be442184bbb233 (diff) | |
download | ffmpeg-263b3ad407496a539b57f4fe118c051f7fb5a5f0.tar.gz |
avcodec/hevcdec: fix non-ref frame judgement
After inspecting the source code of x265, mpv and ffmpeg, I've found that
ffmpeg mistakenly regards EVC_NAL_BLA_N_LP and HEVC_NAL_IDR_N_LP as non-
reference frames, which are acutally reference frames according to the
specification in x265, and drops them.
This patch should address the problem. I have tested it with mpv.
Signed-off-by: Mark Wu <wfwf1997@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 10bc4c3a7df7bb26303067b97311b7eeedfd453e)
Diffstat (limited to 'libavcodec/intelh263dec.c')
0 files changed, 0 insertions, 0 deletions