Browse Source

mp3enc: remove unneeded null ptr check

Fixes: CID733746
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
cb65b32c97
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mp3enc.c

+ 1
- 1
libavformat/mp3enc.c 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;



Loading…
Cancel
Save