mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 12:00:06 +01:00
change audio codec id to mp2
Originally committed as revision 11426 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -52,7 +52,7 @@ static int pva_read_header(AVFormatContext *s, AVFormatParameters *ap) {
|
|||||||
if (!(st = av_new_stream(s, 1)))
|
if (!(st = av_new_stream(s, 1)))
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
st->codec->codec_type = CODEC_TYPE_AUDIO;
|
st->codec->codec_type = CODEC_TYPE_AUDIO;
|
||||||
st->codec->codec_id = CODEC_ID_MP3;
|
st->codec->codec_id = CODEC_ID_MP2;
|
||||||
st->need_parsing = AVSTREAM_PARSE_HEADERS;
|
st->need_parsing = AVSTREAM_PARSE_HEADERS;
|
||||||
av_set_pts_info(st, 33, 1, 90000);
|
av_set_pts_info(st, 33, 1, 90000);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user