summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorKieran Kunhya <kierank@ob-encoder.com>2015-12-09 13:43:29 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-12-10 16:52:48 +0000
commit9553689854d61069ae3467f9b46dac43ee991d96 (patch)
tree5ffa192587ce0ac4c4d1c31654308bf2150e14aa /libavformat
parentbd3409f52a05088aee5f9068b7d0ab66191a66b5 (diff)
downloadffmpeg-9553689854d61069ae3467f9b46dac43ee991d96.tar.gz
diracdec: Move strides to bytes, and pointer types to uint8_t.
Start templating functions for move to support 10-bit Parts of this patch were written by Rostislav Pehlivanov
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/oggparsedirac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/oggparsedirac.c b/libavformat/oggparsedirac.c
index ab40f96c63..b317f5aa1b 100644
--- a/libavformat/oggparsedirac.c
+++ b/libavformat/oggparsedirac.c
@@ -31,7 +31,7 @@ static int dirac_header(AVFormatContext *s, int idx)
AVStream *st = s->streams[idx];
dirac_source_params source;
GetBitContext gb;
- int ret;
+ int ret, bit_depth;
// already parsed the header
if (st->codec->codec_id == AV_CODEC_ID_DIRAC)
@@ -41,7 +41,7 @@ static int dirac_header(AVFormatContext *s, int idx)
if (ret < 0)
return ret;
- ret = avpriv_dirac_parse_sequence_header(st->codec, &gb, &source);
+ ret = avpriv_dirac_parse_sequence_header(st->codec, &gb, &source, &bit_depth);
if (ret < 0)
return ret;