avcodec error problems