diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-31 01:16:45 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-31 01:16:45 +0100 |
commit | 1a6a088f7c7b164042ad16d43d05543ce1bacfa4 (patch) | |
tree | ad29c28f8c42f776f85a65cef87ed625c1a302e2 /libavcodec/libvorbis.c | |
parent | e146ad95d79b1a6e6b9e566366b832825c79679f (diff) | |
parent | 9afc025bff4e3a517105a69ec5009ac66b38f483 (diff) | |
download | ffmpeg-1a6a088f7c7b164042ad16d43d05543ce1bacfa4.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
fate: whitespace cosmetics
fate: split off video codec FATE tests into their own file
fate: split off audio codec FATE tests into their own file
fate: split off Electronic Arts codec FATE tests into their own file
fate: split off QuickTime codec FATE tests into their own file
fate: split off voice codec FATE tests into their own file
fate: split off demuxer FATE tests into their own file
cosmetics: Drop unnecessary parentheses around return values.
fate: drop pointless _audio and _video suffixes from xan tests
qt-faststart: K&R reformatting; fix comment typos
FATE: Add test for H.264 MP4->annex.B bitstream filter.
Conflicts:
ffplay.c
tests/fate.mak
tests/fate/h264.mak
tests/fate/image.mak
tests/fate/lossless-audio.mak
tests/fate/lossless-video.mak
tests/fate/qtrle.mak
tests/fate/real.mak
tests/fate/screen.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libvorbis.c')
-rw-r--r-- | libavcodec/libvorbis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c index 504447750e..62ec6ffd54 100644 --- a/libavcodec/libvorbis.c +++ b/libavcodec/libvorbis.c @@ -134,7 +134,7 @@ static av_cold int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avcco /* How many bytes are needed for a buffer of length 'l' */ static int xiph_len(int l) { - return (1 + l / 255 + l); + return 1 + l / 255 + l; } static av_cold int oggvorbis_encode_init(AVCodecContext *avccontext) |