The documentation for avcodec_decode_video2() states that the input buffer should be FF_INPUT_BUFFER_PADDING_SIZE longer than the actual data. My question is whether the size should include those bytes or not. For example if my buffer was 4096 bytes of data, should I set size to 4096 and then pad with FF_INPUT_BUFFER_PADDING_SIZE, or should I pad with FF_INPUT_BUFFER_PADDING_SIZE and then set size to 4096 + FF_INPUT_BUFFER_PADDING_SIZE?
Thanks, Tim _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
