Commit a93837b1 authored by takis's avatar takis

The memsetting of the end of buffer is not needed for audio.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8070 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 914533c7
......@@ -124,9 +124,6 @@ void audio_decode_example(const char *outfilename, const char *filename)
printf("Audio decoding\n");
/* set end of buffer to 0 (this ensures that no overreading happens for damaged mpeg streams) */
memset(inbuf + INBUF_SIZE, 0, FF_INPUT_BUFFER_PADDING_SIZE);
/* find the mpeg audio decoder */
codec = avcodec_find_decoder(CODEC_ID_MP2);
if (!codec) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment