diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-23 10:04:57 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-23 19:56:45 +0100 |
commit | cfc6ab3199e7ac4197744e17e82144d857886096 (patch) | |
tree | 6c15824203617e4a872d2caa3b9ee4261e8683d2 /libavcodec/a64multienc.c | |
parent | 4da6d194e5b00404f4d545adcaa8e206592ae746 (diff) | |
download | ffmpeg-cfc6ab3199e7ac4197744e17e82144d857886096.tar.gz |
a64multienc: don't write into output buffer when there's no output.
Diffstat (limited to 'libavcodec/a64multienc.c')
-rw-r--r-- | libavcodec/a64multienc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/a64multienc.c b/libavcodec/a64multienc.c index 532f2a2824..d50586e84b 100644 --- a/libavcodec/a64multienc.c +++ b/libavcodec/a64multienc.c @@ -317,8 +317,6 @@ static int a64multi_encode_frame(AVCodecContext *avctx, unsigned char *buf, charset += charset_size; req_size += charset_size; } - /* no charset so clean buf */ - else memset(buf, 0, charset_size); /* write x frames to buf */ for (frame = 0; frame < c->mc_lifetime; frame++) { |