Compare commits

...

10 Commits

Author SHA1 Message Date
021054a196 release notes for 0.5.2
Originally committed as revision 23300 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-05-24 21:58:47 +00:00
ee20f19b20 Bump version number for 0.5.2 release.
Originally committed as revision 23299 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-05-24 21:55:01 +00:00
2fcb56dab9 Update Changelog for 0.5.2 release.
Originally committed as revision 23298 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-05-24 21:41:51 +00:00
96ca078b22 Check validity of channels & samplerate.
This may be security relevant.
Based on 2 patches by chrome.

backport r19975 by michael




Originally committed as revision 22658 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-03-24 19:35:30 +00:00
7fd4cbb519 fix compilation issue on powerpc
unlike the ARCH_ macros, COMPILE_ALTIVEC needs to be tested more carefully


Originally committed as revision 22488 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-03-12 20:35:04 +00:00
557e065d5f Fix compilation on powerpc with --disable-altivec
in case altivec is disabled, even compilation of code using altivec
keywords or asm must be avoided.

backport r30869 from mplayer repo by siretart


Originally committed as revision 22436 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-03-10 20:55:07 +00:00
461243731d Mention LGPL libswscale in the Changelog.
Originally committed as revision 22253 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-03-06 19:50:56 +00:00
fe95afe1e2 libswscale is no longer GPL; update help comment accordingly.
Originally committed as revision 22250 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-03-06 19:40:37 +00:00
775aa5f38c Add Hurd to OS list and disable dv1394 in the Hurd case.
patch by Andres Mejia, mcitadel gmail com

backport r18938 by diego


Originally committed as revision 22237 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-03-06 16:57:43 +00:00
578c32814c Add point release date.
Originally committed as revision 22163 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
2010-03-03 08:25:10 +00:00
6 changed files with 38 additions and 7 deletions

View File

@ -2,10 +2,19 @@ Entries are sorted chronologically from oldest to youngest within each release,
releases are sorted from youngest to oldest.
version 0.5.2:
- Hurd support
- PowerPC without Altivec compilation issues
- validate channels and samplerate in the Vorbis decoder
version 0.5.1:
- build system updates
- documentation updates
- libswscale now is LGPL except for x86 optimizations
- fix for GPL code in libswscale that was erroneously activated
- AltiVec code in libswscale is now LGPL
- remaining GPL parts in AC-3 decoder converted to LGPL

13
RELEASE
View File

@ -40,7 +40,7 @@ should appear in doc/APIchanges.
* 0.5.1
* 0.5.1 March 2, 2010
General notes
-------------
@ -101,3 +101,14 @@ claimed. We have changed configure to reflect this. You now have to pass the
Furthermore the non-free bits in libavcodec/fdctref.c have been rewritten. Note
well that they were only used in a test program and never compiled into any
FFmpeg library.
* 0.5.2 May 25, 2010
General notes
-------------
This is a maintenance only release that addresses a small number of security
and portability issues. Distributors and system integrators are encouraged
to update and share their patches against this branch.

View File

@ -1 +1 @@
0.5.1
0.5.2

5
configure vendored
View File

@ -82,7 +82,7 @@ show_help(){
echo " --disable-ffplay disable ffplay build"
echo " --disable-ffserver disable ffserver build"
echo " --enable-postproc enable GPLed postprocessing support [no]"
echo " --enable-swscale enable GPLed software scaler support [no]"
echo " --enable-swscale enable software scaler support [no]"
echo " --enable-avfilter video filter support (replaces vhook) [no]"
echo " --enable-avfilter-lavf video filters dependent on avformat [no]"
echo " --disable-vhook disable video hooking support"
@ -1659,6 +1659,9 @@ case $target_os in
;;
gnu/kfreebsd)
;;
gnu)
disable dv1394
;;
*)
die "Unknown OS '$target_os'."

View File

@ -902,8 +902,16 @@ static int vorbis_parse_id_hdr(vorbis_context *vc){
}
vc->version=get_bits_long(gb, 32); //FIXME check 0
vc->audio_channels=get_bits(gb, 8); //FIXME check >0
vc->audio_samplerate=get_bits_long(gb, 32); //FIXME check >0
vc->audio_channels=get_bits(gb, 8);
if(vc->audio_channels <= 0){
av_log(vc->avccontext, AV_LOG_ERROR, "Invalid number of channels\n");
return -1;
}
vc->audio_samplerate=get_bits_long(gb, 32);
if(vc->audio_samplerate <= 0){
av_log(vc->avccontext, AV_LOG_ERROR, "Invalid samplerate\n");
return -1;
}
vc->bitrate_maximum=get_bits_long(gb, 32);
vc->bitrate_nominal=get_bits_long(gb, 32);
vc->bitrate_minimum=get_bits_long(gb, 32);

View File

@ -960,7 +960,7 @@ static inline void yuv2rgbXinC_full(SwsContext *c, int16_t *lumFilter, int16_t *
#endif
#if ARCH_PPC
#if HAVE_ALTIVEC || CONFIG_RUNTIME_CPUDETECT
#if HAVE_ALTIVEC
#define COMPILE_ALTIVEC
#endif
#endif //ARCH_PPC
@ -1649,7 +1649,7 @@ static SwsFunc getSwsFunc(int flags){
return swScale_C;
#else
#if ARCH_PPC
#if ARCH_PPC && defined COMPILE_ALTIVEC
if (flags & SWS_CPU_CAPS_ALTIVEC)
return swScale_altivec;
else