projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hevc: implement pic_output_flag handling
[ffmpeg.git]
/
libavcodec
/
hevc.c
diff --git
a/libavcodec/hevc.c
b/libavcodec/hevc.c
index
d801a47
..
d9c9c71
100644
(file)
--- a/
libavcodec/hevc.c
+++ b/
libavcodec/hevc.c
@@
-546,6
+546,8
@@
static int hls_slice_header(HEVCContext *s)
return AVERROR_INVALIDDATA;
}
+ // when flag is not present, picture is inferred to be output
+ sh->pic_output_flag = 1;
if (s->pps->output_flag_present_flag)
sh->pic_output_flag = get_bits1(gb);