Mageia Bugzilla – Attachment 1354 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-mp3_outlen (google)
ffmpeg-mp3_outlen.patch (text/plain), 574 bytes, created by
David Walser
on 2012-01-09 17:37:42 CET
(
hide
)
Description:
re-diffed patch for ffmpeg-mp3_outlen (google)
Filename:
MIME Type:
Creator:
David Walser
Created:
2012-01-09 17:37:42 CET
Size:
574 bytes
patch
obsolete
>--- ffmpeg/libavcodec/mpegaudiodec.c~ 2010-07-27 06:08:34.000000000 -0400 >+++ ffmpeg/libavcodec/mpegaudiodec.c 2012-01-09 11:36:43.224249000 -0500 >@@ -2075,8 +2075,10 @@ > *data_size = out_size; > avctx->sample_rate = s->sample_rate; > //FIXME maybe move the other codec info stuff from above here too >- }else >+ }else{ > av_log(avctx, AV_LOG_DEBUG, "Error while decoding MPEG audio frame.\n"); //FIXME return -1 / but also return the number of bytes consumed >+ *data_size = 0; >+ } > s->frame_size = 0; > return buf_size; > }
--- ffmpeg/libavcodec/mpegaudiodec.c~ 2010-07-27 06:08:34.000000000 -0400 +++ ffmpeg/libavcodec/mpegaudiodec.c 2012-01-09 11:36:43.224249000 -0500 @@ -2075,8 +2075,10 @@ *data_size = out_size; avctx->sample_rate = s->sample_rate; //FIXME maybe move the other codec info stuff from above here too - }else + }else{ av_log(avctx, AV_LOG_DEBUG, "Error while decoding MPEG audio frame.\n"); //FIXME return -1 / but also return the number of bytes consumed + *data_size = 0; + } s->frame_size = 0; return buf_size; }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4001
:
1350
|
1351
|
1352
|
1353
| 1354 |
1355
|
1356