diff options
author | Kieran Kunhya <kierank@ob-encoder.com> | 2015-12-09 00:05:31 +0000 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-12-10 21:26:35 +0000 |
commit | 8dcc99dc684da4f128faa53f3988afa29e392afb (patch) | |
tree | 71303dc837cf8491b7f7b19cbf5455f3bee34e39 /libavformat | |
parent | 9f374c59061be6b3e5d394678e08adce42c1392e (diff) | |
download | ffmpeg-8dcc99dc684da4f128faa53f3988afa29e392afb.tar.gz |
diracdec: Extract version parameters
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/oggparsedirac.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/oggparsedirac.c b/libavformat/oggparsedirac.c index b317f5aa1b..ff947a04e1 100644 --- a/libavformat/oggparsedirac.c +++ b/libavformat/oggparsedirac.c @@ -30,6 +30,7 @@ static int dirac_header(AVFormatContext *s, int idx) struct ogg_stream *os = ogg->streams + idx; AVStream *st = s->streams[idx]; dirac_source_params source; + DiracVersionInfo version; GetBitContext gb; int ret, bit_depth; @@ -41,7 +42,8 @@ static int dirac_header(AVFormatContext *s, int idx) if (ret < 0) return ret; - ret = avpriv_dirac_parse_sequence_header(st->codec, &gb, &source, &bit_depth); + ret = avpriv_dirac_parse_sequence_header(st->codec, &gb, &source, &version, + &bit_depth); if (ret < 0) return ret; |