ffserver: use AVStream.codecpar in open_input_stream()