OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d55a40
)
mp3enc: remove unneeded null ptr check
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Oct 2012 18:27:16 +0000
(20:27 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Oct 2012 18:27:16 +0000
(20:27 +0200)
Fixes: CID733746
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mp3enc.c
patch
|
blob
|
history
diff --git
a/libavformat/mp3enc.c
b/libavformat/mp3enc.c
index
425488f
..
044eb29
100644
(file)
--- 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;