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 <j...@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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to