]> git.sesse.net Git - ffmpeg/log
ffmpeg
17 years agoremove a few unused and duplicated variables
Michael Niedermayer [Mon, 22 Jan 2007 10:53:57 +0000 (10:53 +0000)]
remove a few unused and duplicated variables

Originally committed as revision 7642 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agodo not override rc_buffer_occupancy if set
Baptiste Coudurier [Mon, 22 Jan 2007 10:01:14 +0000 (10:01 +0000)]
do not override rc_buffer_occupancy if set

Originally committed as revision 7641 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoadding a few checks to the audio packet descrambling, this should hopefully catch...
Michael Niedermayer [Mon, 22 Jan 2007 03:19:00 +0000 (03:19 +0000)]
adding a few checks to the audio packet descrambling, this should hopefully catch all related out of array accesses
note, the original code might have been exploitable

Originally committed as revision 7640 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoFix license headers and FSF postal address.
Diego Biurrun [Mon, 22 Jan 2007 01:21:36 +0000 (01:21 +0000)]
Fix license headers and FSF postal address.

Originally committed as revision 21994 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

17 years agocosmetic
Michael Niedermayer [Mon, 22 Jan 2007 01:21:16 +0000 (01:21 +0000)]
cosmetic

Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoFix FSF postal address.
Diego Biurrun [Mon, 22 Jan 2007 01:18:33 +0000 (01:18 +0000)]
Fix FSF postal address.

Originally committed as revision 7638 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoFix some more license headers.
Diego Biurrun [Mon, 22 Jan 2007 01:16:42 +0000 (01:16 +0000)]
Fix some more license headers.

Originally committed as revision 7637 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agothese variables seem to be unused on the demuxer side so theres no sense in setting...
Michael Niedermayer [Mon, 22 Jan 2007 00:20:58 +0000 (00:20 +0000)]
these variables seem to be unused on the demuxer side so theres no sense in setting them

Originally committed as revision 7636 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agofix a typo in deps
Aurelien Jacobs [Sun, 21 Jan 2007 23:42:58 +0000 (23:42 +0000)]
fix a typo in deps

Originally committed as revision 7635 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoRemove BeOS hack.
Diego Biurrun [Sun, 21 Jan 2007 23:27:30 +0000 (23:27 +0000)]
Remove BeOS hack.

Originally committed as revision 7634 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoClarify that Xvid is used for encoding only.
Diego Biurrun [Sun, 21 Jan 2007 23:04:29 +0000 (23:04 +0000)]
Clarify that Xvid is used for encoding only.

Originally committed as revision 7633 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoget rid of a few idiotic asserts()
Michael Niedermayer [Sun, 21 Jan 2007 23:03:09 +0000 (23:03 +0000)]
get rid of a few idiotic asserts()

Originally committed as revision 7632 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agouseless &0x80
Michael Niedermayer [Sun, 21 Jan 2007 22:46:14 +0000 (22:46 +0000)]
useless &0x80

Originally committed as revision 7631 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetics: Sort decoder/encoder/parser variables lists.
Diego Biurrun [Sun, 21 Jan 2007 22:45:18 +0000 (22:45 +0000)]
cosmetics: Sort decoder/encoder/parser variables lists.

Originally committed as revision 7630 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoflashsv encoder also depends on zlib
Aurelien Jacobs [Sun, 21 Jan 2007 22:45:14 +0000 (22:45 +0000)]
flashsv encoder also depends on zlib

Originally committed as revision 7629 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove now useless codec_tag setting code in voc muxer
Aurelien Jacobs [Sun, 21 Jan 2007 22:41:37 +0000 (22:41 +0000)]
remove now useless codec_tag setting code in voc muxer

Originally committed as revision 7628 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove the last #ifdef from allcodecs.c
Måns Rullgård [Sun, 21 Jan 2007 22:31:52 +0000 (22:31 +0000)]
remove the last #ifdef from allcodecs.c

Originally committed as revision 7627 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetics: List all encoders together.
Diego Biurrun [Sun, 21 Jan 2007 22:20:18 +0000 (22:20 +0000)]
cosmetics: List all encoders together.

Originally committed as revision 7626 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoRemove useless #ifdef.
Diego Biurrun [Sun, 21 Jan 2007 22:02:12 +0000 (22:02 +0000)]
Remove useless #ifdef.

Originally committed as revision 7625 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove useless #ifdef CONFIG_ZLIB
Måns Rullgård [Sun, 21 Jan 2007 21:58:32 +0000 (21:58 +0000)]
remove useless #ifdef CONFIG_ZLIB

Originally committed as revision 7624 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove useless #ifdef CONFIG_ZLIB
Måns Rullgård [Sun, 21 Jan 2007 21:55:10 +0000 (21:55 +0000)]
remove useless #ifdef CONFIG_ZLIB

Originally committed as revision 7623 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoit's called libgsm, not just gsm
Måns Rullgård [Sun, 21 Jan 2007 21:45:48 +0000 (21:45 +0000)]
it's called libgsm, not just gsm

Originally committed as revision 7622 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoRemove debug line.
Benjamin Larsson [Sun, 21 Jan 2007 21:25:16 +0000 (21:25 +0000)]
Remove debug line.

Originally committed as revision 7621 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoAdd flashsv encoder to changelog and fix the encoder so it actually works.
Benjamin Larsson [Sun, 21 Jan 2007 21:24:05 +0000 (21:24 +0000)]
Add flashsv encoder to changelog and fix the encoder so it actually works.

Originally committed as revision 7620 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoreorder alphabetically
Måns Rullgård [Sun, 21 Jan 2007 21:20:18 +0000 (21:20 +0000)]
reorder alphabetically

Originally committed as revision 7619 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove no longer needed ifeq tests
Måns Rullgård [Sun, 21 Jan 2007 21:06:10 +0000 (21:06 +0000)]
remove no longer needed ifeq tests

Originally committed as revision 7618 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove no longer needed #ifdefs
Måns Rullgård [Sun, 21 Jan 2007 21:04:01 +0000 (21:04 +0000)]
remove no longer needed #ifdefs

Originally committed as revision 7617 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocheck dependencies before setting CONFIG_*/ENABLE_*
Måns Rullgård [Sun, 21 Jan 2007 21:01:34 +0000 (21:01 +0000)]
check dependencies before setting CONFIG_*/ENABLE_*

Originally committed as revision 7616 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoFlash screen video encoder.
Benjamin Larsson [Sun, 21 Jan 2007 20:56:20 +0000 (20:56 +0000)]
Flash screen video encoder.

Originally committed as revision 7615 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoIncrease the av_log() levels, and add some documentation for them
Luca Abeni [Sun, 21 Jan 2007 20:47:10 +0000 (20:47 +0000)]
Increase the av_log() levels, and add some documentation for them

Originally committed as revision 7614 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoBeOS cleanup
Ramiro Polla [Sun, 21 Jan 2007 20:40:22 +0000 (20:40 +0000)]
BeOS cleanup
Patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
date: Jan 20, 2007 8:56 PM
subject: [Ffmpeg-devel] [PATCH] [RFC] change socket read and write functions

Originally committed as revision 7613 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove sensless casts
Michael Niedermayer [Sun, 21 Jan 2007 20:15:55 +0000 (20:15 +0000)]
remove sensless casts

Originally committed as revision 7612 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimplify GUIDs
Michael Niedermayer [Sun, 21 Jan 2007 20:06:19 +0000 (20:06 +0000)]
simplify GUIDs

Originally committed as revision 7611 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoDeclare zlib dependency in the Makefile, not in the source.
Diego Biurrun [Sun, 21 Jan 2007 20:04:00 +0000 (20:04 +0000)]
Declare zlib dependency in the Makefile, not in the source.

Originally committed as revision 7610 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoReally fix my never ending mistakes.
Benjamin Larsson [Sun, 21 Jan 2007 18:46:19 +0000 (18:46 +0000)]
Really fix my never ending mistakes.

Originally committed as revision 7609 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoDon't break compilation on systems without zlib.
Benjamin Larsson [Sun, 21 Jan 2007 17:48:03 +0000 (17:48 +0000)]
Don't break compilation on systems without zlib.

Originally committed as revision 7608 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoThe block_size might be used incorrectly if it is not updated.
Benjamin Larsson [Sun, 21 Jan 2007 14:14:50 +0000 (14:14 +0000)]
The block_size might be used incorrectly if it is not updated.

Originally committed as revision 7607 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agofix msmpeg4v3 tag in asf
Michael Niedermayer [Sun, 21 Jan 2007 13:01:53 +0000 (13:01 +0000)]
fix msmpeg4v3 tag in asf

Originally committed as revision 7606 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimplify
Michael Niedermayer [Sun, 21 Jan 2007 12:55:31 +0000 (12:55 +0000)]
simplify

Originally committed as revision 7605 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agothe context is supposed to be freed in the generic code in utils.c
Michael Niedermayer [Sun, 21 Jan 2007 12:47:46 +0000 (12:47 +0000)]
the context is supposed to be freed in the generic code in utils.c

Originally committed as revision 7604 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove now useless codec_tag setting code in muxers
Michael Niedermayer [Sun, 21 Jan 2007 12:44:58 +0000 (12:44 +0000)]
remove now useless codec_tag setting code in muxers

Originally committed as revision 7603 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimplify
Michael Niedermayer [Sun, 21 Jan 2007 12:43:29 +0000 (12:43 +0000)]
simplify

Originally committed as revision 7602 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoConstantize AVOption, solve few warnings, patch from flameeyes@gentoo.org aka "the...
Luca Barbato [Sun, 21 Jan 2007 12:32:01 +0000 (12:32 +0000)]
Constantize AVOption, solve few warnings, patch from flameeyes@gentoo.org aka "the other Diego"

Originally committed as revision 7601 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoset codec_tag from codec_id if its not set and can be set based on the AVCodecTag...
Michael Niedermayer [Sun, 21 Jan 2007 12:31:58 +0000 (12:31 +0000)]
set codec_tag from codec_id if its not set and can be set based on the AVCodecTag tables

Originally committed as revision 7600 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agothis is wrong but it was that way before the AVCodecTag change, only reason why it...
Michael Niedermayer [Sun, 21 Jan 2007 12:30:44 +0000 (12:30 +0000)]
this is wrong but it was that way before the AVCodecTag change, only reason why it didnt broke regressions was that the table wasnt used

Originally committed as revision 7599 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoFixed a typo, cosmetics.
Benjamin Larsson [Sun, 21 Jan 2007 12:27:53 +0000 (12:27 +0000)]
Fixed a typo, cosmetics.

Originally committed as revision 7598 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoGet rid of #ifdef CONFIG_ZLIB in the code. Code cleanup.
Benjamin Larsson [Sun, 21 Jan 2007 12:26:23 +0000 (12:26 +0000)]
Get rid of #ifdef CONFIG_ZLIB in the code. Code cleanup.

Originally committed as revision 7597 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoget rid of the [4] limitation of codec tag lists
Michael Niedermayer [Sun, 21 Jan 2007 12:08:31 +0000 (12:08 +0000)]
get rid of the [4] limitation of codec tag lists

Originally committed as revision 7596 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoFix crash when pred_order greater s->blocksize >> rice_order.
Reimar Döffinger [Sun, 21 Jan 2007 09:55:28 +0000 (09:55 +0000)]
Fix crash when pred_order greater s->blocksize >> rice_order.
Fixes http://sam.zoy.org/zzuf/lol-mplayer.flac

Originally committed as revision 7595 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoexport a few more codec_tag-codec_id tables
Michael Niedermayer [Sun, 21 Jan 2007 02:12:34 +0000 (02:12 +0000)]
export a few more codec_tag-codec_id tables

Originally committed as revision 7594 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoadd codec_id <-> codec_tag tables to AVIn/OutputFormat
Michael Niedermayer [Sun, 21 Jan 2007 01:39:17 +0000 (01:39 +0000)]
add codec_id <-> codec_tag tables to AVIn/OutputFormat

Originally committed as revision 7593 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agofix indention (dunno why it was messed up ...)
Michael Niedermayer [Sat, 20 Jan 2007 23:09:27 +0000 (23:09 +0000)]
fix indention (dunno why it was messed up ...)

Originally committed as revision 7592 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agochecking bitstream values and other related changes
Michael Niedermayer [Sat, 20 Jan 2007 13:50:00 +0000 (13:50 +0000)]
checking bitstream values and other related changes
some of these might have been exploitable

Originally committed as revision 7591 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoAttempt to better document AVFMT_NOFILE.
Reimar Döffinger [Fri, 19 Jan 2007 22:54:50 +0000 (22:54 +0000)]
Attempt to better document AVFMT_NOFILE.

Originally committed as revision 7590 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoDemuxers with AVFMT_NOFILE will open a (possibly different) file themselves,
Reimar Döffinger [Fri, 19 Jan 2007 22:52:59 +0000 (22:52 +0000)]
Demuxers with AVFMT_NOFILE will open a (possibly different) file themselves,
so do not probe them if is_opened is set.

Originally committed as revision 7589 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoadd AV_WB/WL for lswriting, similar to AV_RB/RL (also increment version)
Alex Beregszaszi [Fri, 19 Jan 2007 22:26:10 +0000 (22:26 +0000)]
add AV_WB/WL for lswriting, similar to AV_RB/RL (also increment version)

Originally committed as revision 7588 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agorename BE/LE_8/16/32 to AV_RL/B_8/16/32
Alex Beregszaszi [Fri, 19 Jan 2007 22:12:59 +0000 (22:12 +0000)]
rename BE/LE_8/16/32 to AV_RL/B_8/16/32

Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove useless cast that makes code unreadable
Guillaume Poirier [Fri, 19 Jan 2007 12:41:56 +0000 (12:41 +0000)]
remove useless cast that makes code unreadable

Originally committed as revision 7586 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoharden h264 decoding to prevent some crashes when input data is corrupted.
Francois Oligny-Lemieux [Fri, 19 Jan 2007 09:37:04 +0000 (09:37 +0000)]
harden h264 decoding to prevent some crashes when input data is corrupted.
Patch by Frank %eucloid A gmail P com%
date: Jan 18, 2007 6:48 PM
subject: Re: [Ffmpeg-devel] h264, protection against corrupted data (second try patch)
AND
date: Jan 17, 2007 8:22 PM
subject: [Ffmpeg-devel] h264, protection against corrupted data

this also fixes a possible security issue (the sps and pps ids where not checked,
then used as index into an array of sps/pps structs which was then filled with data from the bitstream)

Originally committed as revision 7585 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agouint16->uint8
Michael Niedermayer [Fri, 19 Jan 2007 03:14:13 +0000 (03:14 +0000)]
uint16->uint8

Originally committed as revision 7584 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetics: indentation
Aurelien Jacobs [Thu, 18 Jan 2007 23:23:41 +0000 (23:23 +0000)]
cosmetics: indentation

Originally committed as revision 7583 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoThe long awaited BeOS cleanup, phase 1.1: removed useless ifdef, changed check for...
François Revol [Thu, 18 Jan 2007 17:48:21 +0000 (17:48 +0000)]
The long awaited BeOS cleanup, phase 1.1: removed useless ifdef, changed check for net_server to IP_MULTICAST_TTL.

Originally committed as revision 7582 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoThe long awaited BeOS cleanup, phase 1
François Revol [Thu, 18 Jan 2007 17:22:30 +0000 (17:22 +0000)]
The long awaited BeOS cleanup, phase 1

Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoomg, major typo (fails if card supports rgb24)
Alex Beregszaszi [Thu, 18 Jan 2007 15:42:25 +0000 (15:42 +0000)]
omg, major typo (fails if card supports rgb24)

Originally committed as revision 7580 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoChange the Snow encoder to always use the available MotionEstContext pointer.
Panagiotis Issaris [Thu, 18 Jan 2007 13:35:24 +0000 (13:35 +0000)]
Change the Snow encoder to always use the available MotionEstContext pointer.

Originally committed as revision 7579 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoAdd/update some comments.
Diego Biurrun [Thu, 18 Jan 2007 08:23:36 +0000 (08:23 +0000)]
Add/update some comments.

Originally committed as revision 7578 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoRename do_libav var so as not to clash with the do_libav function on Solaris.
Diego Biurrun [Thu, 18 Jan 2007 08:21:55 +0000 (08:21 +0000)]
Rename do_libav var so as not to clash with the do_libav function on Solaris.

Originally committed as revision 7577 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agochange while loops to do-while as the condition is true the first time and the check...
Michael Niedermayer [Thu, 18 Jan 2007 00:22:24 +0000 (00:22 +0000)]
change while loops to do-while as the condition is true the first time and the check just wastes cpu cycles

Originally committed as revision 7576 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimpler branch structure in init (16 bytes smaller object file)
Michael Niedermayer [Wed, 17 Jan 2007 20:14:02 +0000 (20:14 +0000)]
simpler branch structure in init (16 bytes smaller object file)

Originally committed as revision 7575 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agodoxygenize
Michael Niedermayer [Wed, 17 Jan 2007 20:12:12 +0000 (20:12 +0000)]
doxygenize

Originally committed as revision 7574 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoavoid code duplication
Michael Niedermayer [Wed, 17 Jan 2007 20:11:23 +0000 (20:11 +0000)]
avoid code duplication

Originally committed as revision 7573 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agobetter to set things to NULL instead of random in case of out of mem
Michael Niedermayer [Wed, 17 Jan 2007 20:06:38 +0000 (20:06 +0000)]
better to set things to NULL instead of random in case of out of mem

Originally committed as revision 7572 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimplify av_fifo_realloc()
Michael Niedermayer [Wed, 17 Jan 2007 20:05:31 +0000 (20:05 +0000)]
simplify av_fifo_realloc()

Originally committed as revision 7571 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove near duplicate function
Michael Niedermayer [Wed, 17 Jan 2007 19:46:33 +0000 (19:46 +0000)]
remove near duplicate function

Originally committed as revision 7570 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimplify
Michael Niedermayer [Wed, 17 Jan 2007 19:30:23 +0000 (19:30 +0000)]
simplify

Originally committed as revision 7569 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimplify
Michael Niedermayer [Wed, 17 Jan 2007 19:19:03 +0000 (19:19 +0000)]
simplify

Originally committed as revision 7568 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimplify
Michael Niedermayer [Wed, 17 Jan 2007 12:06:31 +0000 (12:06 +0000)]
simplify

Originally committed as revision 7567 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoAvoid branches in the loop and solve a gcc warning
Luca Barbato [Wed, 17 Jan 2007 11:02:07 +0000 (11:02 +0000)]
Avoid branches in the loop and solve a gcc warning

Originally committed as revision 7566 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimplify pts/dts reading
Michael Niedermayer [Wed, 17 Jan 2007 10:55:01 +0000 (10:55 +0000)]
simplify pts/dts reading

Originally committed as revision 7565 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoCosmetics
Luca Barbato [Wed, 17 Jan 2007 10:47:58 +0000 (10:47 +0000)]
Cosmetics

Originally committed as revision 7564 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetic
Michael Niedermayer [Wed, 17 Jan 2007 10:45:59 +0000 (10:45 +0000)]
cosmetic

Originally committed as revision 7563 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoreduce len checks, simplifies code
Michael Niedermayer [Wed, 17 Jan 2007 10:44:57 +0000 (10:44 +0000)]
reduce len checks, simplifies code
there is a very small chance that a stream which is damaged && unseekable && very small packet && damage to the flags && unlucky buffer state could have a valid packet after a damaged packet lost, but i think this is so unlikely that the simplification outweights it
mans if you disagree with any commit to mpeg.c just say so and ill revert it

Originally committed as revision 7562 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agofix segfault with http://sam.zoy.org/zzuf/lol-ffplay.ogm and
Panagiotis Issaris [Wed, 17 Jan 2007 10:26:13 +0000 (10:26 +0000)]
fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.ogm and
http://sam.zoy.org/zzuf/lol-ffplay.ogg

Originally committed as revision 7561 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoseperate redo (we dont handle this possibly valid packet) from
Michael Niedermayer [Wed, 17 Jan 2007 10:19:10 +0000 (10:19 +0000)]
seperate redo (we dont handle this possibly valid packet) from
error_redo (somethings is definitly wrong) in which case we try to resync from the last startcode

Originally committed as revision 7560 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago10l (aes_crypt -> av_aes_crypt)
Michael Niedermayer [Wed, 17 Jan 2007 00:49:48 +0000 (00:49 +0000)]
10l (aes_crypt -> av_aes_crypt)

Originally committed as revision 7559 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoset data_size to 0 so that in case we return without setting it nothing funny can...
Michael Niedermayer [Tue, 16 Jan 2007 23:28:41 +0000 (23:28 +0000)]
set data_size to 0 so that in case we return without setting it nothing funny can happen

Originally committed as revision 7558 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoupdate swf regression checksum
Måns Rullgård [Tue, 16 Jan 2007 22:41:59 +0000 (22:41 +0000)]
update swf regression checksum

Originally committed as revision 7557 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoMake nb_streams unsigned to avoid an ugly cast.
Diego Biurrun [Tue, 16 Jan 2007 22:31:10 +0000 (22:31 +0000)]
Make nb_streams unsigned to avoid an ugly cast.

Originally committed as revision 7556 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agofix a gcc warning, avoid an unnecessary operation
Luca Barbato [Tue, 16 Jan 2007 22:07:49 +0000 (22:07 +0000)]
fix a gcc warning, avoid an unnecessary operation

Originally committed as revision 7555 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agofix CONFIG_SMALL again
Michael Niedermayer [Tue, 16 Jan 2007 19:50:49 +0000 (19:50 +0000)]
fix CONFIG_SMALL again

Originally committed as revision 7554 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago30byte smaller object file
Michael Niedermayer [Tue, 16 Jan 2007 19:30:43 +0000 (19:30 +0000)]
30byte smaller object file

Originally committed as revision 7553 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago10l typo
Michael Niedermayer [Tue, 16 Jan 2007 19:18:50 +0000 (19:18 +0000)]
10l typo

Originally committed as revision 7552 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agopublic API
Michael Niedermayer [Tue, 16 Jan 2007 19:14:27 +0000 (19:14 +0000)]
public API

Originally committed as revision 7551 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocbc support
Michael Niedermayer [Tue, 16 Jan 2007 19:08:52 +0000 (19:08 +0000)]
cbc support

Originally committed as revision 7550 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoavoid memcpy()
Michael Niedermayer [Tue, 16 Jan 2007 17:58:11 +0000 (17:58 +0000)]
avoid memcpy()

Originally committed as revision 7549 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agogive crypt a src and dst
Michael Niedermayer [Tue, 16 Jan 2007 17:51:54 +0000 (17:51 +0000)]
give crypt a src and dst
same speed, 100bytes larger object file

Originally committed as revision 7548 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoAvoid calling decode_slice when context_initialized is not set.
Reimar Döffinger [Tue, 16 Jan 2007 17:46:26 +0000 (17:46 +0000)]
Avoid calling decode_slice when context_initialized is not set.
Avoids a crash due to dsp.clear_blocks being NULL when called.

Originally committed as revision 7547 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agochange subshift a little, this reduces the object size a litlle
Michael Niedermayer [Tue, 16 Jan 2007 17:40:40 +0000 (17:40 +0000)]
change subshift a little, this reduces the object size a litlle

Originally committed as revision 7546 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agouse 2 state arrays so that fewer temporary variables are needed
Michael Niedermayer [Tue, 16 Jan 2007 17:17:05 +0000 (17:17 +0000)]
use 2 state arrays so that fewer temporary variables are needed

Originally committed as revision 7545 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove useless parameter
Michael Niedermayer [Tue, 16 Jan 2007 16:29:01 +0000 (16:29 +0000)]
remove useless parameter

Originally committed as revision 7544 to svn://svn.ffmpeg.org/ffmpeg/trunk