Bug 12373 - youtube errors: buffer smaller than AVCODEC_MAX_AUDIO_FRAME_SIZE
Summary: youtube errors: buffer smaller than AVCODEC_MAX_AUDIO_FRAME_SIZE
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Eric Anholt
QA Contact: Eric Anholt
Depends on:
Reported: 2007-09-09 13:34 UTC by Gustavo J. A. M. Carneiro
Modified: 2007-09-14 12:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Gustavo J. A. M. Carneiro 2007-09-09 13:34:20 UTC
When playing any youtube video, I get these two lines printed on the console in an infinite loop:

SWFDEC: ERROR: swfdec_codec_ffmpeg.c(132): swfdec_audio_decoder_ffmpeg_push: Error -1 while decoding
[mp3 @ 0x2aaababd3e50]buffer smaller than AVCODEC_MAX_AUDIO_FRAME_SIZE

swfdec-mozilla            0.5.1-1
ubuntu gutsy amd64
Comment 1 Benjamin Otte 2007-09-14 12:27:57 UTC
Uhm, I'm assuming that's because ffmpeg treats the outbuf_size pointer as an in/out variable without telling anyone about it.

Fixed in 3a6b5c7b1cb39e13e6f1448a9dd6914555904cf3

Seems I never used ffmpeg for decoding audio myself. Wonder if there might be a reason...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.