summaryrefslogtreecommitdiffstats
path: root/libavformat/mp3enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mp3enc.c')
-rw-r--r--libavformat/mp3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index 425488f..044eb29 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;
OpenPOWER on IntegriCloud