I did some research on this and downloaded ffmpeg and tried to find where
the error is getting thrown from.

Here is the file:
libavcodec/ac3_parser.c

 76 int ff_ac3_parse_header(GetBitContext *gbc, AC3HeaderInfo *hdr)
 77 {
 78     int frame_size_code;
 79
 80     memset(hdr, 0, sizeof(*hdr));
 81
 82     hdr->sync_word = get_bits(gbc, 16);
 83     if(hdr->sync_word != 0x0B77)
 84         return AAC_AC3_PARSE_ERROR_SYNC;

AAC_AC3_PARSE_ERROR_SYNC is 16976906 in decimal

How do I proceed from here?
How can I fix this? Should I fix the code or the audio stream file?
I feel, stream file should not be touched, because
1, it is coming from outside and not in my control and
2. VLC does not have any issue with that stream, then why should ffmpeg
have?

So how can this code be fixed?
Please help me
Thank you
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to