On Wed, Apr 01, 2015 at 12:40:54PM +0200, Rainer Hochecker wrote: [...] > @@ -330,22 +337,6 @@ static int vda_h264_decode_slice(AVCodecContext *avctx, > const uint8_t *buffer, > uint32_t size) > { > - VDAContext *vda = avctx->internal->hwaccel_priv_data; > - void *tmp; > - > - tmp = av_fast_realloc(vda->bitstream, > - &vda->allocated_size, > - vda->bitstream_size + size + 4); > - if (!tmp) > - return AVERROR(ENOMEM); > - > - vda->bitstream = tmp; > -
> - AV_WB32(vda->bitstream + vda->bitstream_size, size); could it be that this should be using nal_length_size ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel