change audio codec id to mp2

Originally committed as revision 11426 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Ivo van Poorten 17 years ago
parent 0e8a207ff8
commit fe332ad66e
  1. 2
      libavformat/pva.c

@ -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);

Loading…
Cancel
Save