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:
authorKieran Kunhya <kierank@ob-encoder.com>2015-12-09 03:05:31 +0300
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-12-11 00:26:35 +0300
commit8dcc99dc684da4f128faa53f3988afa29e392afb (patch)
tree71303dc837cf8491b7f7b19cbf5455f3bee34e39 /libavcodec/dirac.h
parent9f374c59061be6b3e5d394678e08adce42c1392e (diff)
diracdec: Extract version parameters
Diffstat (limited to 'libavcodec/dirac.h')
-rw-r--r--libavcodec/dirac.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/dirac.h b/libavcodec/dirac.h
index 14653f1dc2..6852e82d7f 100644
--- a/libavcodec/dirac.h
+++ b/libavcodec/dirac.h
@@ -34,6 +34,11 @@
#include "avcodec.h"
#include "get_bits.h"
+typedef struct DiracVersionInfo {
+ int major;
+ int minor;
+} DiracVersionInfo;
+
typedef struct dirac_source_params {
unsigned width;
unsigned height;
@@ -56,6 +61,7 @@ typedef struct dirac_source_params {
int avpriv_dirac_parse_sequence_header(AVCodecContext *avctx, GetBitContext *gb,
dirac_source_params *source,
+ DiracVersionInfo *version,
int *bit_depth);
#endif /* AVCODEC_DIRAC_H */