Fix av_find_best_stream when using a program
The current implementation has a bug, it is returning the stream index in the found program, and not the stream index in the list of all streams. The attached patch fixes this issue. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 22ec6b73)
Showing
Please
register
or
sign in
to comment