summaryrefslogtreecommitdiff
path: root/modules/h265/decode.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-07-18 21:32:52 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-07-18 21:32:52 +0200
commit71165dad6c8b01577def7c7006f67edbc1984a12 (patch)
tree8ad0a7ed7f3cfe5791cce21d815184138d09977c /modules/h265/decode.c
parent19e66aa85ac3cbc610ed2280064495ae66a7bdb2 (diff)
h265: fix FU decoder bug
[hevc @ 0x7ff75e045a00] PPS id out of range: 22 [hevc @ 0x7ff75e045a00] Error parsing NAL unit #3. vidloop: codec decode: Bad message [hevc @ 0x7ff75e045a00] Could not find ref with POC 0 the size of the Fragmentation Unit (FU) type should be 6 bits and not 5 bits.
Diffstat (limited to 'modules/h265/decode.c')
-rw-r--r--modules/h265/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/h265/decode.c b/modules/h265/decode.c
index f469f56..95d7102 100644
--- a/modules/h265/decode.c
+++ b/modules/h265/decode.c
@@ -29,7 +29,7 @@ enum {
struct fu {
unsigned s:1;
unsigned e:1;
- unsigned type:5;
+ unsigned type:6;
};
struct viddec_state {