On Tue, Jul 15, 2008 at 04:19:16AM -0400, Alexander Strange wrote:
> ---
> libavcodec/thread.h | 26 +++++++++++++-------------
> 1 files changed, 13 insertions(+), 13 deletions(-)
> diff --git a/libavcodec/thread.h b/libavcodec/thread.h
> index 1105df8..ba0645f 100644
> --- a/libavcodec/thread.h
> +++ b/libavcodec/thread.h
> @@ -48,27 +48,27 @@ void ff_delayed_release_buffer(AVCodecContext *avctx,
> AVFrame *f);
> #define USE_FRAME_THREADING(avctx) (avctx->thread_algorithm ==
> FF_THREAD_MULTIFRAME)
> #define USE_AVCODEC_EXECUTE(avctx) (avctx->thread_algorithm ==
> FF_THREAD_MULTISLICE)
> #else
> -static int ff_thread_init(AVCodecContext *avctx, int thread_count) {return
> 0;}
> -static void ff_thread_free(AVCodecContext *avctx) {}
> +static inline int ff_thread_init(AVCodecContext *avctx, int thread_count)
> {return 0;}
> +static inline void ff_thread_free(AVCodecContext *avctx) {}Honestly, inline is not the proper solution to hide "unused" warnings [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Breaking DRM is a little like attempting to break through a door even though the window is wide open and the only thing in the house is a bunch of things you dont want and which you would get tomorrow for free anyway
signature.asc
Description: Digital signature
_______________________________________________ FFmpeg-soc mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
