applehttp: Don't export variant_bitrate if it isn't known
authorMartin Storsjö <martin@martin.st>
Sun, 24 Apr 2011 17:19:49 +0000 (20:19 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 24 Apr 2011 18:30:03 +0000 (21:30 +0300)
commit5f85d49b6889b9a2ecd18695fe52c5c9b698a0e1
treef4791da650ed501dcb16122c84622b52e07eddd5
parentac9cf2e5c48aa1edb2c7ba8e7edfa55c9fde609b
applehttp: Don't export variant_bitrate if it isn't known

If there are no variants, the total bitrate of the single
stream isn't known, and exporting variant_bitrate = 0 does
look weird, since there really aren't any variants.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/applehttp.c