Commit cb65b32c authored by Michael Niedermayer's avatar Michael Niedermayer

mp3enc: remove unneeded null ptr check

Fixes: CID733746
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6d55a40b
......@@ -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;
......
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