diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-26 03:50:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-07 04:01:28 +0200 |
commit | c60d2be5510044edf01d813363e39841db3d751a (patch) | |
tree | 0b46eedebb83d03692591fc1d1f602612d2bbed6 /libavformat/mp3enc.c | |
parent | e1e8a8ded431ee5e0e6fee5693d4b8f7e7eaa527 (diff) | |
download | ffmpeg-c60d2be5510044edf01d813363e39841db3d751a.tar.gz |
mp3enc:simplify
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mp3enc.c')
-rw-r--r-- | libavformat/mp3enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index 50efbb4c6f..b13d0a961c 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -420,7 +420,7 @@ static int mp3_write_packet(AVFormatContext *s, AVPacket *pkt) return 0; #endif - if (0 < mp3->frames_offset) + if (mp3->frames_offset) mp3_xing_add_frame(s, pkt); return ff_raw_write_packet(s, pkt); @@ -435,7 +435,7 @@ static int mp3_write_trailer(AVFormatContext *s) if (ret < 0) return ret; - if (0 < mp3->frames_offset) + if (mp3->frames_offset) mp3_fix_xing(s); return 0; |