Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 242094 | Differences between
and this patch

Collapse All | Expand All

(-)mpeg4ip-1.5.0.1/player/plugin/audio/ffmpeg/ffmpeg.cpp (-1 / +2 lines)
Lines 214-220 static int ffmpeg_decode (codec_data_t * Link Here
214
  uint32_t freq_ts = pts->audio_freq_timestamp;
214
  uint32_t freq_ts = pts->audio_freq_timestamp;
215
215
216
  do {
216
  do {
217
    used = avcodec_decode_audio(ffmpeg->m_c, (short *)ffmpeg->m_outbuf,
217
    outsize=AVCODEC_MAX_AUDIO_FRAME_SIZE;
218
    used = avcodec_decode_audio2(ffmpeg->m_c, (short *)ffmpeg->m_outbuf,
218
				&outsize, buffer, left);
219
				&outsize, buffer, left);
219
    if (used < 0) {
220
    if (used < 0) {
220
      ffmpeg_message(LOG_DEBUG, "ffmpeg", "failed to decode at "U64, 
221
      ffmpeg_message(LOG_DEBUG, "ffmpeg", "failed to decode at "U64, 

Return to bug 242094