mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
CODEC_ID_MP3LAME is obsolete
Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -240,7 +240,7 @@ static void parse_specific_params(AVCodecContext *stream, int *au_byterate, int
|
||||
*au_ssize = 1;
|
||||
*au_scale = 1;
|
||||
*au_byterate = stream->bit_rate / 8;
|
||||
case CODEC_ID_MP3LAME:
|
||||
case CODEC_ID_MP3:
|
||||
*au_ssize = 1;
|
||||
*au_scale = 1;
|
||||
*au_byterate = stream->bit_rate / 8;
|
||||
@@ -570,7 +570,7 @@ static int avi_write_idx1(AVFormatContext *s)
|
||||
if (nb_frames < stream->frame_number)
|
||||
nb_frames = stream->frame_number;
|
||||
} else {
|
||||
if (stream->codec_id == CODEC_ID_MP2 || stream->codec_id == CODEC_ID_MP3LAME) {
|
||||
if (stream->codec_id == CODEC_ID_MP2 || stream->codec_id == CODEC_ID_MP3) {
|
||||
put_le32(pb, stream->frame_number);
|
||||
nb_frames += stream->frame_number;
|
||||
} else {
|
||||
@@ -675,7 +675,7 @@ static int avi_write_trailer(AVFormatContext *s)
|
||||
if (nb_frames < stream->frame_number)
|
||||
nb_frames = stream->frame_number;
|
||||
} else {
|
||||
if (stream->codec_id == CODEC_ID_MP2 || stream->codec_id == CODEC_ID_MP3LAME) {
|
||||
if (stream->codec_id == CODEC_ID_MP2 || stream->codec_id == CODEC_ID_MP3) {
|
||||
nb_frames += stream->frame_number;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user