mp3enc: remove unneeded null ptr check

Fixes: CID733746
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-16 20:27:16 +02:00
parent 6d55a40b00
commit cb65b32c97

View File

@ -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;