diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-16 20:27:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-16 20:27:16 +0200 |
commit | cb65b32c97b06fc611b53c1ab77a2edbaadee84f (patch) | |
tree | 925aecead9a9c0eaa55d0a3007562d7e9d56cbdc /libavformat/mp3enc.c | |
parent | 6d55a40b00801899f7975b22401bdd96bbc228af (diff) | |
download | ffmpeg-cb65b32c97b06fc611b53c1ab77a2edbaadee84f.tar.gz |
mp3enc: remove unneeded null ptr check
Fixes: CID733746
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mp3enc.c')
-rw-r--r-- | libavformat/mp3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index 425488ff03..044eb29620 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -259,7 +259,7 @@ static int mp3_write_audio_packet(AVFormatContext *s, AVPacket *pkt) { MP3Context *mp3 = s->priv_data; - if (pkt && pkt->data && pkt->size >= 4) { + if (pkt->data && pkt->size >= 4) { MPADecodeHeader c; int av_unused base; |