On 02/26/2012 05:47 PM, Paul B Mahol wrote:

> From: Reimar Döffinger <[email protected]>
> 
> Fixes a failure in cdxl-pal8 test for the valgrind FATE instance.
> 
> Signed-off-by: Reimar Döffinger <[email protected]>
> Signed-off-by: Paul B Mahol <[email protected]>
> ---
>  libavformat/cdxl.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/libavformat/cdxl.c b/libavformat/cdxl.c
> index b056d69..ed795e4 100644
> --- a/libavformat/cdxl.c
> +++ b/libavformat/cdxl.c
> @@ -142,6 +142,7 @@ static int cdxl_read_packet(AVFormatContext *s, AVPacket 
> *pkt)
>              av_free_packet(pkt);
>              return ret;
>          }
> +        av_shrink_packet(pkt, CDXL_HEADER_SIZE + ret);
>          pkt->stream_index  = cdxl->video_stream_index;
>          pkt->flags        |= AV_PKT_FLAG_KEY;
>          pkt->pos           = pos;


LGTM.

-Justin

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

Reply via email to