On Wed, Feb 12, 2014 at 03:44:27PM +0100, Luca Barbato wrote:
> --- a/libavcodec/h264_parser.c
> +++ b/libavcodec/h264_parser.c
> @@ -261,13 +261,13 @@ static inline int parse_nal_units(AVCodecParserContext 
> *s,
>              if (!h->pps_buffers[pps_id]) {
>                  av_log(h->avctx, AV_LOG_ERROR,
> -                       "non-existing PPS referenced\n");
> +                       "non-existing PPS %d referenced\n", pps_id);

pps_id is unsigned.

>              if (!h->sps_buffers[h->pps.sps_id]) {
>                  av_log(h->avctx, AV_LOG_ERROR,
> -                       "non-existing SPS referenced\n");
> +                       "non-existing SPS %d referenced\n", h->pps.sps_id);
>                  return -1;

same here

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

Reply via email to