diff options
Diffstat (limited to 'libavcodec/apiexample.c')
-rw-r--r-- | libavcodec/apiexample.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/apiexample.c b/libavcodec/apiexample.c index 88b8ea1..151637b 100644 --- a/libavcodec/apiexample.c +++ b/libavcodec/apiexample.c @@ -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) { |