[FFmpeg-soc] [soc]: r2836 - mxf/mxfenc.c

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jul 22 19:07:27 CEST 2008


On Tue, Jul 22, 2008 at 06:29:03PM +0200, spyfeng wrote:
> @@ -245,12 +246,17 @@ static int klv_encode_ber_length(ByteIOC
>      // long form
>      put_byte(pb, 0x80 + size);
>      i = size;
> +    tmp_buf = av_mallocz(size);
> +    if (!tmp_buf)
> +        return -1;

AVERROR(ENOMEM)



More information about the FFmpeg-soc mailing list