mp3enc: remove unneeded null ptr check

Fixes: CID733746
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/6/head
Michael Niedermayer 12 years ago
parent 6d55a40b00
commit cb65b32c97
  1. 2
      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;

Loading…
Cancel
Save