"Well ok, if you want me to provide a patch introducing a try_decode_frame2(), I will do, just tell me." Alternatively I can change the function in place and the calling av_find_stream_info too, maybe in a seperate patch... this would avoid unnecessary "crowding"... TB