On 12/05/15 17:19, Vittorio Giovara wrote:
> ---
> libavcodec/dnxhddec.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
> index f821cb6..559fc3a 100644
> --- a/libavcodec/dnxhddec.c
> +++ b/libavcodec/dnxhddec.c
> @@ -119,7 +119,9 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame
> *frame,
> }
>
> if (memcmp(buf, header_prefix, 5) && memcmp(buf, header_prefix444, 5)) {
> - av_log(ctx->avctx, AV_LOG_ERROR, "error in header\n");
> + av_log(ctx->avctx, AV_LOG_ERROR,
> + "unknown header 0x%02X 0x%02X 0x%02X 0x%02X 0x%02X\n",
> + buf[0], buf[1], buf[2], buf[3], buf[4]);
> return AVERROR_INVALIDDATA;
> }
> if (buf[5] & 2) { /* interlaced */
>
Ok.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel