summaryrefslogtreecommitdiff
path: root/doc/examples/qsvdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/qsvdec.c')
-rw-r--r--doc/examples/qsvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/qsvdec.c b/doc/examples/qsvdec.c
index 6dbb21031d..04e5b5f85d 100644
--- a/doc/examples/qsvdec.c
+++ b/doc/examples/qsvdec.c
@@ -405,7 +405,7 @@ int main(int argc, char **argv)
decoder_ctx->codec_id = AV_CODEC_ID_H264;
if (video_st->codec->extradata_size) {
decoder_ctx->extradata = av_mallocz(video_st->codec->extradata_size +
- FF_INPUT_BUFFER_PADDING_SIZE);
+ AV_INPUT_BUFFER_PADDING_SIZE);
if (!decoder_ctx->extradata) {
ret = AVERROR(ENOMEM);
goto finish;