mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 15:08:09 +08:00
avformat/oma: Demux oma-encapsulated AAC audio
Signed-off-by: asivery <asivery@protonmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
@ -511,6 +511,7 @@ static int oma_read_header(AVFormatContext *s)
|
||||
st->codecpar->bit_rate = samplerate * framesize / (2048 / 8);
|
||||
avpriv_set_pts_info(st, 64, 1, samplerate);
|
||||
break;
|
||||
case OMA_CODECID_AAC:
|
||||
case OMA_CODECID_MP3:
|
||||
ffstream(st)->need_parsing = AVSTREAM_PARSE_FULL_RAW;
|
||||
framesize = 1024;
|
||||
|
Reference in New Issue
Block a user