mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
mp3enc: remove unneeded null ptr check
Fixes: CID733746 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6d55a40b00
commit
cb65b32c97
@ -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…
x
Reference in New Issue
Block a user