On Tue, Mar 22, 2016 at 12:36 PM, Hendrik Leppkes wrote:
> On Tue, Mar 22, 2016 at 11:35 AM, qw wrote:
>> Hi,
>>
>> I am reading ffmpeg source code, and confused about the following logic in
>> movenc.c,
>>
>> if (enc->codec_id == AV_CODEC_ID_AAC && pkt->size > 2 &&
>> (AV_RB16(pkt->
On Tue, Mar 22, 2016 at 11:35 AM, qw wrote:
> Hi,
>
> I am reading ffmpeg source code, and confused about the following logic in
> movenc.c,
>
> if (enc->codec_id == AV_CODEC_ID_AAC && pkt->size > 2 &&
> (AV_RB16(pkt->data) & 0xfff0) == 0xfff0) {
> if (!s->streams[pkt->stream_
Hi,
I am reading ffmpeg source code, and confused about the following logic in
movenc.c,
if (enc->codec_id == AV_CODEC_ID_AAC && pkt->size > 2 &&
(AV_RB16(pkt->data) & 0xfff0) == 0xfff0) {
if (!s->streams[pkt->stream_index]->nb_frames) {
av_log(s, AV_LOG_ERROR,
Hi,
I am reading ffmpeg source code, and confused about the following logic in
movenc.c,
if (enc->codec_id == AV_CODEC_ID_AAC && pkt->size > 2 &&
(AV_RB16(pkt->data) & 0xfff0) == 0xfff0) {
if (!s->streams[pkt->stream_index]->nb_frames) {
av_log(s, AV_LOG_ERROR,