Commit adb4e5b2 authored by bcoudurier's avatar bcoudurier

use ternary

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5946 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b2b4bde3
......@@ -365,11 +365,7 @@ static int mov_write_audio_tag(ByteIOContext *pb, MOVTrack* track)
to be a good way to get number of bits of audio */
put_be16(pb, 0x10); /* Reserved */
if(vbr) {
put_be16(pb, 0xfffe); /* compression ID (vbr)*/
} else {
put_be16(pb, 0); /* compression ID (= 0) */
}
put_be16(pb, vbr ? 0xfffe : 0); /* compression ID */
put_be16(pb, 0); /* packet size (= 0) */
put_be16(pb, track->timescale); /* Time scale */
put_be16(pb, 0); /* Reserved */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment