Mageia Bugzilla – Attachment 1355 Details for
Bug 4001
mplayer missing security update for CVE-2009-4636 and CVE-2011-0722
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
re-diffed patch for ffmpeg-vorbis_zero_samplerate (google)
ffmpeg-vorbis_zero_samplerate.patch (text/plain), 526 bytes, created by
David Walser
on 2012-01-09 17:40:49 CET
(
hide
)
Description:
re-diffed patch for ffmpeg-vorbis_zero_samplerate (google)
Filename:
MIME Type:
Creator:
David Walser
Created:
2012-01-09 17:40:49 CET
Size:
526 bytes
patch
obsolete
>--- ffmpeg/libavformat/oggparsevorbis.c~ 2010-10-16 09:20:41.000000000 -0400 >+++ ffmpeg/libavformat/oggparsevorbis.c 2012-01-09 11:40:04.416994248 -0500 >@@ -230,6 +230,8 @@ > > st->codec->channels = bytestream_get_byte(&p); > st->codec->sample_rate = bytestream_get_le32(&p); >+ if (!st->codec->sample_rate) >+ st->codec->sample_rate = 1; > p += 4; // skip maximum bitrate > st->codec->bit_rate = bytestream_get_le32(&p); // nominal bitrate > p += 4; // skip minimum bitrate
--- ffmpeg/libavformat/oggparsevorbis.c~ 2010-10-16 09:20:41.000000000 -0400 +++ ffmpeg/libavformat/oggparsevorbis.c 2012-01-09 11:40:04.416994248 -0500 @@ -230,6 +230,8 @@ st->codec->channels = bytestream_get_byte(&p); st->codec->sample_rate = bytestream_get_le32(&p); + if (!st->codec->sample_rate) + st->codec->sample_rate = 1; p += 4; // skip maximum bitrate st->codec->bit_rate = bytestream_get_le32(&p); // nominal bitrate p += 4; // skip minimum bitrate
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4001
:
1350
|
1351
|
1352
|
1353
|
1354
| 1355 |
1356