Skip to content

Instantly share code, notes, and snippets.

@lindenle
Created March 10, 2014 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lindenle/4957abd9671c485626b7 to your computer and use it in GitHub Desktop.
Save lindenle/4957abd9671c485626b7 to your computer and use it in GitHub Desktop.
if (open_codec_context(&readAudioStreamIdx, pReadFormatCtx, AVMEDIA_TYPE_AUDIO, infile\
) >= 0) {
pReadAudio_st = pReadFormatCtx->streams[readAudioStreamIdx];
pReadAudioCodecCtx = pReadAudio_st->codec;
pReadAudioCodecCtx->strict_std_compliance=FF_COMPLIANCE_EXPERIMENTAL;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment