summaryrefslogtreecommitdiff
path: root/libavcodec/h264_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-23 05:42:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-23 06:01:45 +0200
commit4ba396834d2bf36be9b9f235de91af54da2c46ba (patch)
treee6f77b8608dd77e8f85429ad350a66d0aecb2ec4 /libavcodec/h264_parser.c
parent57d5d5f62d26067338d5cb716f4aca8d8e9aa5fd (diff)
h264: pass buffer & size to ff_h264_decode_extradata()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index ad134b3f82..d794b7b221 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -257,7 +257,7 @@ static int h264_parse(AVCodecParserContext *s,
// Note that estimate_timings_from_pts does exactly this.
if (!avctx->has_b_frames)
h->s.low_delay = 1;
- ff_h264_decode_extradata(h);
+ ff_h264_decode_extradata(h, avctx->extradata, avctx->extradata_size);
}
}