ports/multimedia/mplayer/files/patch-libavcodec-mpegaudio_parser.c
Christian Weisgerber 71ed9f76bb Update mplayer and mencoder to a recent snapshot. Major changes:
- Reduce the number of dependencies (use internal ffmpeg whenever possible)
  in mplayer
- Do not build with clang on i386
- Use new options framework

PR:		177083
Submitted by:	Thomas Zander <thomas.e.zander@googlemail.com> (maintainer)
2013-03-23 15:45:25 +00:00

10 lines
605 B
C

--- ffmpeg/libavcodec/mpegaudio_parser.c.orig 2013-03-05 19:20:04.000000000 +0100
+++ ffmpeg/libavcodec/mpegaudio_parser.c 2013-03-08 18:28:59.428478324 +0100
@@ -81,6 +81,7 @@
avctx->sample_rate= sr;
avctx->channels = channels;
s1->duration = frame_size;
+ avctx->frame_size = frame_size;
if (s->no_bitrate || !avctx->bit_rate) {
s->no_bitrate = 1;
avctx->bit_rate += (bit_rate - avctx->bit_rate) / s->header_count;