On Thu, 21 Nov 2013, Luca Barbato wrote:

On 21/11/13 10:57, Martin Storsjö wrote:
CC: [email protected]
---
 libavformat/hls.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


When minvariant is negative? The code below sets minvariant to an always
valid value, am I wrong?

It is set to -1 originally (when no variant has been selected yet), and the code later wants to know whether there actually was any variant available with data or not (so initializing it to 0 is not an option).

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to