Advertisement
oanastratulat

Untitled

Jan 5th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. if (size_out > audio_out_size) {
  2. av_log(NULL, AV_LOG_FATAL, "Internal error, buffer size too small\n");
  3. exit_program(1);
  4. }
  5.  
  6. // FIXME pass ost->sync_opts as AVFrame.pts in avcodec_encode_audio()
  7. av_log(0,0,"size_out : %d\n",size_out);
  8. ret = avcodec_encode_audio(enc, audio_out, size_out,
  9. (short *)buftmp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement