Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-07-14 01:26:08 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2018-07-18 14:59:25 +0300
commit4a657acaefd599f3971e88419516a7f4ece00e53 (patch)
treef5dc90b3750446ce1780a8c2f5f03f9fb27abb2a /libavcodec/cfhd.h
parent91578f5798d36467e8e2138eada5ce26c12b4e1e (diff)
avcodec/cfhd: Use bytestream2 for peaks
This fixes out of array accesses No testcase known Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cfhd.h')
-rw-r--r--libavcodec/cfhd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/cfhd.h b/libavcodec/cfhd.h
index 7cd251fca7..4f2c82d8bc 100644
--- a/libavcodec/cfhd.h
+++ b/libavcodec/cfhd.h
@@ -26,6 +26,7 @@
#include "libavutil/avassert.h"
#include "avcodec.h"
+#include "bytestream.h"
#include "get_bits.h"
#include "vlc.h"
@@ -71,7 +72,7 @@ typedef struct Plane {
typedef struct Peak {
int level;
int offset;
- const int16_t *base;
+ GetByteContext base;
} Peak;
typedef struct CFHDContext {