freebsd-ports/multimedia/mplayer/files/patch-libavcodec-mpegaudio_parser.c
Thomas Zander fd39b1ac01 - Sync with upstream snapshot of 2014-04-18
- General Makefile cleanup
- Fix x11 dependency handling (xproto was missing)
- Builds with LOCALBASE != PREFIX should work everywhere now
- Remove support for esd unconditionally
- mplayer: default build enables fribidi option, so smplayer and smtube
  packages from official FreeBSD package repos will work out of the box
- Add profiling option (disabled by default)
- Remove WITH_LANG knob (was unused for a long time anyway)
- Chase libbluray shared lib version bump from ports/188573

Approved by:	thierry (mentor)
2014-04-27 14:22:25 +00:00

10 lines
564 B
C

--- ffmpeg/libavcodec/mpegaudio_parser.c.orig 2014-02-12 19:20:06.000000000 +0100
+++ ffmpeg/libavcodec/mpegaudio_parser.c 2014-04-19 14:39:15.514132783 +0200
@@ -83,6 +83,7 @@
avctx->sample_rate= sr;
avctx->channels = channels;
s1->duration = frame_size;
+ avctx->frame_size = frame_size;
avctx->codec_id = codec_id;
if (s->no_bitrate || !avctx->bit_rate) {
s->no_bitrate = 1;