Commit f1f0b01c authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/gxf: fix old codec id

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e510171f
...@@ -166,7 +166,7 @@ static int get_sindex(AVFormatContext *s, int id, int format) { ...@@ -166,7 +166,7 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
case 26: /* AVCi50 / AVCi100 (AVC Intra) */ case 26: /* AVCi50 / AVCi100 (AVC Intra) */
case 29: /* AVCHD */ case 29: /* AVCHD */
st->codec->codec_type = AVMEDIA_TYPE_VIDEO; st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_H264; st->codec->codec_id = AV_CODEC_ID_H264;
st->need_parsing = AVSTREAM_PARSE_HEADERS; st->need_parsing = AVSTREAM_PARSE_HEADERS;
break; break;
// timecode tracks: // timecode tracks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment