ffprobe: fix value_string() prefix printing for values with negative logarithm
authorStefano Sabatini <stefasab@gmail.com>
Thu, 19 Jan 2012 00:34:30 +0000 (01:34 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 20 Jan 2012 12:27:52 +0000 (13:27 +0100)
commit4601ad769df9a5c4e51a06a75a23c1f8f39595eb
treec619f429b95cbadf7cdd62e70d6e8667a154d7df
parenteef4b70450b5ed57a5c57a719d31b8ca14532bc9
ffprobe: fix value_string() prefix printing for values with negative logarithm

The index for the binary_unit_prefixes array is expected to be positive,
so avoid to use negative indexes for accessing it.
ffprobe.c