summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhd_parser.c
diff options
context:
space:
mode:
authorJason Stevens <jay@wizardofthenet.com>2018-09-07 22:42:13 -0700
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-09-10 23:15:42 +0200
commit69f1853a2831addd662041ceb2d90df355b0e60a (patch)
treeb83c08a5fbf89c9f28ab5e78235c78420a68bb40 /libavcodec/dnxhd_parser.c
parentdf05fd3131fd94d01ebeaa58b4c60510961b8be2 (diff)
libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_
refactor ff_dnxhd_get_hr_frame_size to avpriv_dnxhd_get_hr_frame_size, to allow cross library usage in libavformat/mxfenc this change makes this function no longer be always inlined. Signed-off-by: Jason Stevens <jay@wizardofthenet.com>
Diffstat (limited to 'libavcodec/dnxhd_parser.c')
-rw-r--r--libavcodec/dnxhd_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhd_parser.c b/libavcodec/dnxhd_parser.c
index 79ca1d6718..7c16e251a4 100644
--- a/libavcodec/dnxhd_parser.c
+++ b/libavcodec/dnxhd_parser.c
@@ -75,7 +75,7 @@ static int dnxhd_find_frame_end(DNXHDParserContext *dctx,
remaining = avpriv_dnxhd_get_frame_size(cid);
if (remaining <= 0) {
- remaining = ff_dnxhd_get_hr_frame_size(cid, dctx->w, dctx->h);
+ remaining = avpriv_dnxhd_get_hr_frame_size(cid, dctx->w, dctx->h);
if (remaining <= 0)
continue;
}