Mercurial > libavformat.hg
diff mp3.c @ 820:feca73904e67 libavformat
changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
author | michael |
---|---|
date | Sun, 17 Jul 2005 22:24:36 +0000 |
parents | 731af78f150d |
children | 66cc656ea404 |
line wrap: on
line diff
--- a/mp3.c Sun Jul 17 00:28:12 2005 +0000 +++ b/mp3.c Sun Jul 17 22:24:36 2005 +0000 @@ -251,8 +251,8 @@ if (!st) return AVERROR_NOMEM; - st->codec.codec_type = CODEC_TYPE_AUDIO; - st->codec.codec_id = CODEC_ID_MP3; + st->codec->codec_type = CODEC_TYPE_AUDIO; + st->codec->codec_id = CODEC_ID_MP3; st->need_parsing = 1; /* try to get the TAG */