) {     AVCodecContext *c;     AVStream *st;      st = avformat_new_stream(oc, NULL);     if (!st) {         yCFatal(FFMPEGWRITER, "Could not alloc stream");     }      c = st->codec;     c->codec_id = codec_id;     c->codec_type = AVMEDIA_TYPE_