mp3enc: fix playback with mp3 encoded files on some devices.
authorClément Bœsch <clement.boesch@smartjog.com>
Mon, 2 Jan 2012 08:39:11 +0000 (09:39 +0100)
committerClément Bœsch <ubitux@gmail.com>
Mon, 2 Jan 2012 14:34:03 +0000 (15:34 +0100)
commite1a8164d62fb8d1943b3f7a66500f0315ca8fe76
treed321b32721c9a9b58080949fdeedb880f06e81a7
parent940d3cc0b0762f8beb8a12542e7553c17032ed3d
mp3enc: fix playback with mp3 encoded files on some devices.

This partially reverts 1fea432b; header variable needs to keep its value
in case it triggers "if (needed <= c.frame_size)".
libavformat/mp3enc.c