aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-16 20:27:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-16 20:27:16 +0200
commitcb65b32c97b06fc611b53c1ab77a2edbaadee84f (patch)
tree925aecead9a9c0eaa55d0a3007562d7e9d56cbdc /libavformat
parent6d55a40b00801899f7975b22401bdd96bbc228af (diff)
downloadffmpeg-cb65b32c97b06fc611b53c1ab77a2edbaadee84f.tar.gz
mp3enc: remove unneeded null ptr check
Fixes: CID733746 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mp3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index 425488ff03..044eb29620 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;