On Wed, Jul 6, 2016 at 3:41 PM, Mark Reid <mindm...@gmail.com> wrote:
> ---
>  libavcodec/dnxhddec.c |  3 +++
>  libavformat/movenc.c  | 19 ++++++++++++++-----
>  2 files changed, 17 insertions(+), 5 deletions(-)
>
> diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
> index 1808080..b310e3e 100644
> --- a/libavcodec/dnxhddec.c
> +++ b/libavcodec/dnxhddec.c
> @@ -204,6 +204,9 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame 
> *frame,
>      }
>
>      cid = AV_RB32(buf + 0x28);
> +    if (cid >= 1270 || cid <= 1274)

oops, this should be:
if (cid >= 1270 && cid <= 1274)
use attached patch instead

Attachment: v3-0001-libavformat-movenc-add-dnxhr-compatibility-for-ap.patch
Description: Binary data

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

Reply via email to