Mercurial > libavcodec.hg
changeset 8588:93dbb3999cc8 libavcodec
Remove hack to print mp2/mp1 with codec_id of CODEC_ID_MP3.
author | michael |
---|---|
date | Tue, 13 Jan 2009 19:38:54 +0000 |
parents | b3f3d9ffab1c |
children | a29b5b5c3c9d |
files | utils.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Tue Jan 13 19:35:34 2009 +0000 +++ b/utils.c Tue Jan 13 19:38:54 2009 +0000 @@ -646,12 +646,6 @@ if (p) { codec_name = p->name; - if (!encode && enc->codec_id == CODEC_ID_MP3) { - if (enc->sub_id == 2) - codec_name = "mp2"; - else if (enc->sub_id == 1) - codec_name = "mp1"; - } } else if (enc->codec_id == CODEC_ID_MPEG2TS) { /* fake mpeg2 transport stream codec (currently not registered) */