[FFmpeg-devel] [PATCH v3 1/2] libavcodec/dnxhd: change ff_dnxhd_get_hr_frame_size to avpriv_
Michael Niedermayer
michael at niedermayer.cc
Sat Sep 8 03:54:36 EEST 2018
On Fri, Sep 07, 2018 at 01:03:12AM -0700, Jason Stevens wrote:
> change ff_dnxhd_get_hr_frame_size to avpriv_dnxhd_get_hr_frame_size, to allow cross library usage in libavformat/mxfenc
>
> Signed-off-by: Jason Stevens <jay at wizardofthenet.com>
> ---
> libavcodec/dnxhd_parser.c | 2 +-
> libavcodec/dnxhddata.h | 2 +-
> libavcodec/dnxhdenc.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
[...]
> diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h
> index f80ce18f3c..9dd352c242 100644
> --- a/libavcodec/dnxhddata.h
> +++ b/libavcodec/dnxhddata.h
> @@ -90,7 +90,7 @@ static av_always_inline uint64_t ff_dnxhd_parse_header_prefix(const uint8_t *buf
> return ff_dnxhd_check_header_prefix(prefix);
> }
>
> -static av_always_inline int ff_dnxhd_get_hr_frame_size(int cid, int w, int h)
> +static av_always_inline int avpriv_dnxhd_get_hr_frame_size(int cid, int w, int h)
> {
> int result, i = ff_dnxhd_get_cid_table(cid);
this does not work
ff_dnxhd_get_cid_table() for example is not available outside libavcodec
but would be referenced from outside as this is a inline function
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180908/9bebdb70/attachment.sig>
More information about the ffmpeg-devel
mailing list