Hi,

On Fri, Mar 23, 2012 at 2:33 PM, Janne Grunau <[email protected]> wrote:
> ---
>  libavcodec/rv34.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
> index f9ea40d..da5d437 100644
> --- a/libavcodec/rv34.c
> +++ b/libavcodec/rv34.c
> @@ -1662,6 +1662,13 @@ int ff_rv34_decode_frame(AVCodecContext *avctx,
>         if (s->width != si.width || s->height != si.height) {
>             int err;
>
> +            if (HAVE_THREADS &&
> +                (s->avctx->active_thread_type & FF_THREAD_FRAME)) {
> +                av_log_missing_feature(s->avctx, "Width/height changing with 
> "
> +                                       "frame threading is", 0);
> +                return AVERROR_PATCHWELCOME;
> +            }
> +
>             av_log(s->avctx, AV_LOG_WARNING, "Changing dimensions to %dx%d\n",
>                    si.width, si.height);
>             ff_MPV_common_end(s);

OK.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to