diff options
author | Kieran Kunhya <kierank@ob-encoder.com> | 2015-12-09 03:05:31 +0300 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-12-11 00:26:35 +0300 |
commit | 8dcc99dc684da4f128faa53f3988afa29e392afb (patch) | |
tree | 71303dc837cf8491b7f7b19cbf5455f3bee34e39 /libavcodec/dirac.h | |
parent | 9f374c59061be6b3e5d394678e08adce42c1392e (diff) |
diracdec: Extract version parameters
Diffstat (limited to 'libavcodec/dirac.h')
-rw-r--r-- | libavcodec/dirac.h | 6 |
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 */ |