Avoid calling av_dict_get twice on the same value
Store LCID value in stream struct