Use rc_max_rate in av_find_best_stream() if bitrate == 0.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 May 2014 11:25:31 +0000 (13:25 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 May 2014 11:41:10 +0000 (13:41 +0200)
commit6e67852881e4c8c3ef80dd6c3142c286bee6e272
tree44436bcb2ac5908e50c05f063d8545ba50fd6bd8
parent925f7980eb29267d4a491e7a47e93aed6f541d75
Use rc_max_rate in av_find_best_stream() if bitrate == 0.

Fixes ticket #2042.
libavformat/utils.c