h264: drop tests whether the codec id is AV_CODEC_ID_H264