OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a41826
)
hevc: store profile and level in AVCodecContext
author
Gildas Cocherel
<gildas.cocherel@laposte.net>
Sat, 14 Dec 2013 14:50:28 +0000
(15:50 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Fri, 20 Dec 2013 18:36:24 +0000
(19:36 +0100)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/hevc.c
patch
|
blob
|
history
diff --git
a/libavcodec/hevc.c
b/libavcodec/hevc.c
index
530abdc
..
784e58b
100644
(file)
--- a/
libavcodec/hevc.c
+++ b/
libavcodec/hevc.c
@@
-495,6
+495,9
@@
static int hls_slice_header(HEVCContext *s)
s->max_ra = INT_MAX;
}
+ s->avctx->profile = s->sps->ptl.general_ptl.profile_idc;
+ s->avctx->level = s->sps->ptl.general_ptl.level_idc;
+
sh->dependent_slice_segment_flag = 0;
if (!sh->first_slice_in_pic_flag) {
int slice_address_length;