ffmpeg.git
11 years agoDo a little more checking.
Michael Niedermayer [Wed, 28 May 2008 20:30:42 +0000 (20:30 +0000)]
Do a little more checking.

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

11 years agoDo not read from after the table, fixes CID108 RUN2.
Michael Niedermayer [Wed, 28 May 2008 20:28:48 +0000 (20:28 +0000)]
Do not read from after the table, fixes CID108 RUN2.

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

11 years agoUse ff_acelp_weighted_vector_sum() instead of reimplementing it
Vitor Sessak [Wed, 28 May 2008 19:04:34 +0000 (19:04 +0000)]
Use ff_acelp_weighted_vector_sum() instead of reimplementing it

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

11 years agoMake lpc coefficients 16 bit wide
Vitor Sessak [Wed, 28 May 2008 19:02:16 +0000 (19:02 +0000)]
Make lpc coefficients 16 bit wide

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

11 years agoSimplify implementation and use of dec2()
Vitor Sessak [Wed, 28 May 2008 18:59:09 +0000 (18:59 +0000)]
Simplify implementation and use of dec2()

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

11 years agoremove dummy coded frame, no muxer should use it anyway
Baptiste Coudurier [Wed, 28 May 2008 17:04:45 +0000 (17:04 +0000)]
remove dummy coded frame, no muxer should use it anyway

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

11 years agoAdd a note about everybody's favorite recurring gcc bug:
Diego Biurrun [Wed, 28 May 2008 16:12:40 +0000 (16:12 +0000)]
Add a note about everybody's favorite recurring gcc bug:
error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'

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

11 years agoPrevent 128*1<<trellis from becoming 0 and creating 0 sized arrays.
Michael Niedermayer [Wed, 28 May 2008 11:59:41 +0000 (11:59 +0000)]
Prevent 128*1<<trellis from becoming 0 and creating 0 sized arrays.
fixes CID84 RUN2
      CID85 RUN2
      CID86 RUN2
      CID87 RUN2
      CID88 RUN2
      CID89 RUN2
      CID90 RUN2
      CID91 RUN2
      CID92 RUN2
      CID93 RUN2
      CID94 RUN2
      CID95 RUN2
      CID96 RUN2
      CID97 RUN2
      CID98 RUN2
      CID99 RUN2
      CID100 RUN2
      CID101 RUN2
      CID102 RUN2
      CID103 RUN2
      CID104 RUN2
      CID105 RUN2
      CID106 RUN2

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

11 years agoSlightly clarify bitstream filter help output.
Stefano Sabatini [Wed, 28 May 2008 11:55:59 +0000 (11:55 +0000)]
Slightly clarify bitstream filter help output.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

11 years agoRemove coded_frame==NULL checks for video encoders.
Michael Niedermayer [Wed, 28 May 2008 11:34:26 +0000 (11:34 +0000)]
Remove coded_frame==NULL checks for video encoders.

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

11 years agoset coded_frame
Michael Niedermayer [Wed, 28 May 2008 11:33:28 +0000 (11:33 +0000)]
set coded_frame

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

11 years agoUpdate regression checksums after dts calculation fix (r13470).
Michael Niedermayer [Wed, 28 May 2008 10:25:20 +0000 (10:25 +0000)]
Update regression checksums after dts calculation fix (r13470).
Before, all dts where wrong, now just the first is a little odd.

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

11 years agoAdd command line option to set the value of bindir.
Diego Biurrun [Wed, 28 May 2008 09:37:01 +0000 (09:37 +0000)]
Add command line option to set the value of bindir.

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

11 years agocosmetics: spelling typo fixes
Diego Biurrun [Wed, 28 May 2008 09:20:59 +0000 (09:20 +0000)]
cosmetics: spelling typo fixes

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

11 years agoNull pointer check / CID26.
Michael Niedermayer [Wed, 28 May 2008 01:57:19 +0000 (01:57 +0000)]
Null pointer check / CID26.

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

11 years agoFix return type of ff_init_me().
Michael Niedermayer [Wed, 28 May 2008 01:54:09 +0000 (01:54 +0000)]
Fix return type of ff_init_me().

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

11 years agouseless
Michael Niedermayer [Wed, 28 May 2008 01:53:23 +0000 (01:53 +0000)]
useless

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

11 years agominor simplification
Michael Niedermayer [Wed, 28 May 2008 01:34:46 +0000 (01:34 +0000)]
minor simplification

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

11 years agoredundant
Michael Niedermayer [Wed, 28 May 2008 01:30:59 +0000 (01:30 +0000)]
redundant

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

11 years agoFixes NULL pointer dereference CID66
Michael Niedermayer [Wed, 28 May 2008 00:10:34 +0000 (00:10 +0000)]
Fixes NULL pointer dereference CID66

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

11 years agoTell the user if a AVI is non interleaved.
Michael Niedermayer [Wed, 28 May 2008 00:07:41 +0000 (00:07 +0000)]
Tell the user if a AVI is non interleaved.

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

11 years agoCheck dia size a little more. Fixes CID80.
Michael Niedermayer [Tue, 27 May 2008 23:41:10 +0000 (23:41 +0000)]
Check dia size a little more. Fixes CID80.

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

11 years agoRemove unused variable 'prefix' from config.mak.
Diego Biurrun [Tue, 27 May 2008 23:08:39 +0000 (23:08 +0000)]
Remove unused variable 'prefix' from config.mak.

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

11 years agouse internal video frame number
Baptiste Coudurier [Tue, 27 May 2008 22:37:54 +0000 (22:37 +0000)]
use internal video frame number

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

11 years agocosmetics
Baptiste Coudurier [Tue, 27 May 2008 22:34:31 +0000 (22:34 +0000)]
cosmetics

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

11 years agosimplify, use pointer to codec context in struct instead of only id
Baptiste Coudurier [Tue, 27 May 2008 22:31:26 +0000 (22:31 +0000)]
simplify, use pointer to codec context in struct instead of only id

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

11 years agosimplify, use pointer to codec context in struct instead of only id
Baptiste Coudurier [Tue, 27 May 2008 22:31:09 +0000 (22:31 +0000)]
simplify, use pointer to codec context in struct instead of only id

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

11 years agoArrays where one element too small, fixes CID114.
Michael Niedermayer [Tue, 27 May 2008 22:10:17 +0000 (22:10 +0000)]
Arrays where one element too small, fixes CID114.
this was possibly exploitable

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

11 years agoredundant check--
Michael Niedermayer [Tue, 27 May 2008 21:44:42 +0000 (21:44 +0000)]
redundant check--

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

11 years agomemleak / fixes CID118
Michael Niedermayer [Tue, 27 May 2008 21:12:28 +0000 (21:12 +0000)]
memleak / fixes CID118

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

11 years agoFix memleak, fixed CID123.
Michael Niedermayer [Tue, 27 May 2008 20:48:27 +0000 (20:48 +0000)]
Fix memleak, fixed CID123.

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

11 years agoDo not read from prior the array, fix CID 127.
Michael Niedermayer [Tue, 27 May 2008 19:44:56 +0000 (19:44 +0000)]
Do not read from prior the array, fix CID 127.

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

11 years agoDo not use the pts/dts calculation code which needs a parser, when no parser
Michael Niedermayer [Tue, 27 May 2008 18:43:25 +0000 (18:43 +0000)]
Do not use the pts/dts calculation code which needs a parser, when no parser
is available.

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

11 years agoAdd comment
Vitor Sessak [Tue, 27 May 2008 16:50:48 +0000 (16:50 +0000)]
Add comment

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

11 years agoFix doxy comments
Vitor Sessak [Tue, 27 May 2008 16:14:31 +0000 (16:14 +0000)]
Fix doxy comments

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

11 years agoAdd Intel IWMMXT2 link, patch by Dmitry Antipov, dmantipov yandex ru.
Dmitry Antipov [Tue, 27 May 2008 13:27:51 +0000 (13:27 +0000)]
Add Intel IWMMXT2 link, patch by Dmitry Antipov, dmantipov yandex ru.

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

11 years agoCall x264 and Xvid libx264 and libxvid in the configure output for consistency.
Diego Biurrun [Tue, 27 May 2008 12:37:06 +0000 (12:37 +0000)]
Call x264 and Xvid libx264 and libxvid in the configure output for consistency.

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

11 years agocosmetics: XviD is now called Xvid.
Diego Biurrun [Tue, 27 May 2008 12:32:59 +0000 (12:32 +0000)]
cosmetics: XviD is now called Xvid.

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

11 years agocosmetics: typo fixes
Diego Biurrun [Tue, 27 May 2008 10:51:23 +0000 (10:51 +0000)]
cosmetics: typo fixes

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

11 years agoUpdate documentation of show_version() to account for latest changes.
Stefano Sabatini [Tue, 27 May 2008 09:59:00 +0000 (09:59 +0000)]
Update documentation of show_version() to account for latest changes.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

11 years agouse AVFifoBuffer
Baptiste Coudurier [Tue, 27 May 2008 04:33:48 +0000 (04:33 +0000)]
use AVFifoBuffer

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

11 years agocosmetics
Baptiste Coudurier [Tue, 27 May 2008 03:42:55 +0000 (03:42 +0000)]
cosmetics

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

11 years agomerge init and declaration
Baptiste Coudurier [Tue, 27 May 2008 03:41:51 +0000 (03:41 +0000)]
merge init and declaration

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

11 years agosimplify and use version instead
Baptiste Coudurier [Tue, 27 May 2008 03:11:31 +0000 (03:11 +0000)]
simplify and use version instead

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

11 years agosimplify
Baptiste Coudurier [Tue, 27 May 2008 03:00:40 +0000 (03:00 +0000)]
simplify

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

11 years agosimplify
Baptiste Coudurier [Tue, 27 May 2008 02:57:48 +0000 (02:57 +0000)]
simplify

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

11 years agocosmetics, remove useless cases and braces
Baptiste Coudurier [Tue, 27 May 2008 02:55:34 +0000 (02:55 +0000)]
cosmetics, remove useless cases and braces

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

11 years agouse av_fifo_generic_write, old func is deprecated
Baptiste Coudurier [Tue, 27 May 2008 01:26:22 +0000 (01:26 +0000)]
use av_fifo_generic_write, old func is deprecated

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

11 years agoremove const qualifier, removes warning:
Baptiste Coudurier [Tue, 27 May 2008 01:19:19 +0000 (01:19 +0000)]
remove const qualifier, removes warning:
libavformat/file.c:99: warning: passing argument 2 of 'strtol' from incompatible pointer type

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

11 years agoDo not remove gmon.out on clean, we never create it.
Diego Biurrun [Tue, 27 May 2008 00:45:45 +0000 (00:45 +0000)]
Do not remove gmon.out on clean, we never create it.

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

11 years agozero the upper frequencies of the correct coefficients
Justin Ruggles [Tue, 27 May 2008 00:43:39 +0000 (00:43 +0000)]
zero the upper frequencies of the correct coefficients

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

11 years agoRemove TAGS target cruft.
Diego Biurrun [Tue, 27 May 2008 00:38:35 +0000 (00:38 +0000)]
Remove TAGS target cruft.

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

11 years agoSimplify phony target declaration.
Diego Biurrun [Tue, 27 May 2008 00:32:26 +0000 (00:32 +0000)]
Simplify phony target declaration.

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

11 years agoRename test-server target to servertest for consistency with other test targets.
Diego Biurrun [Tue, 27 May 2008 00:26:43 +0000 (00:26 +0000)]
Rename test-server target to servertest for consistency with other test targets.

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

11 years agotypo
Baptiste Coudurier [Mon, 26 May 2008 23:59:28 +0000 (23:59 +0000)]
typo

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

11 years agoregister myself as ffm maintainer
Baptiste Coudurier [Mon, 26 May 2008 23:45:38 +0000 (23:45 +0000)]
register myself as ffm maintainer

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

11 years agoconsistency cosmetics: indices --> indexes in variable names
Diego Biurrun [Mon, 26 May 2008 23:36:05 +0000 (23:36 +0000)]
consistency cosmetics: indices --> indexes in variable names

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

11 years agoClarify avcodec_encode_audio() vs. PCM audio.
Stefano Sabatini [Mon, 26 May 2008 23:19:26 +0000 (23:19 +0000)]
Clarify avcodec_encode_audio() vs. PCM audio.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

11 years agoconsistency cosmetics: indices --> indexes
Diego Biurrun [Mon, 26 May 2008 23:14:25 +0000 (23:14 +0000)]
consistency cosmetics: indices --> indexes

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

11 years agocosmetics: typo
Diego Biurrun [Mon, 26 May 2008 23:11:24 +0000 (23:11 +0000)]
cosmetics: typo

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

11 years agocosmetics: Use C-style comments in #endif directives.
Diego Biurrun [Mon, 26 May 2008 23:09:46 +0000 (23:09 +0000)]
cosmetics: Use C-style comments in #endif directives.

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

11 years agosmall consistency fixes for the ffplay manual
Stefano Sabatini [Mon, 26 May 2008 23:01:22 +0000 (23:01 +0000)]
small consistency fixes for the ffplay manual
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

11 years agosmall consistency fixes for the ffserver manual
Stefano Sabatini [Mon, 26 May 2008 22:59:02 +0000 (22:59 +0000)]
small consistency fixes for the ffserver manual
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

11 years agoaac and h264 in flv demuxing
Baptiste Coudurier [Mon, 26 May 2008 22:01:41 +0000 (22:01 +0000)]
aac and h264 in flv demuxing

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

11 years agoaac and h264 in flv muxing
Baptiste Coudurier [Mon, 26 May 2008 22:00:35 +0000 (22:00 +0000)]
aac and h264 in flv muxing

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

11 years agoaac chan config is 0 if bitstream contains program_config_element
Baptiste Coudurier [Mon, 26 May 2008 21:52:54 +0000 (21:52 +0000)]
aac chan config is 0 if bitstream contains program_config_element

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

11 years agoSupport non interleaved avi with phantom streams.
Michael Niedermayer [Mon, 26 May 2008 20:29:16 +0000 (20:29 +0000)]
Support non interleaved avi with phantom streams.

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

11 years agoRename var: add read coefficients a decent name
Vitor Sessak [Mon, 26 May 2008 18:26:47 +0000 (18:26 +0000)]
Rename var: add read coefficients a decent name

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

11 years agoUpdate comment
Vitor Sessak [Mon, 26 May 2008 18:21:09 +0000 (18:21 +0000)]
Update comment

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

11 years agoRename var: val -> energy
Vitor Sessak [Mon, 26 May 2008 18:18:33 +0000 (18:18 +0000)]
Rename var: val -> energy

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

11 years agoRename var: swapbuf* are LPC related
Vitor Sessak [Mon, 26 May 2008 18:16:05 +0000 (18:16 +0000)]
Rename var: swapbuf* are LPC related

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

11 years agoRename var: buffer_2 is an adaptive codebook
Vitor Sessak [Mon, 26 May 2008 17:10:00 +0000 (17:10 +0000)]
Rename var: buffer_2 is an adaptive codebook

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

11 years agoContext vars are not global vars. glob is a bad name for it.
Vitor Sessak [Mon, 26 May 2008 16:59:39 +0000 (16:59 +0000)]
Context vars are not global vars. glob is a bad name for it.

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

11 years agoRename context struct to be more consistent with the rest of ffmpeg
Vitor Sessak [Mon, 26 May 2008 16:55:22 +0000 (16:55 +0000)]
Rename context struct to be more consistent with the rest of ffmpeg

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

11 years agoWarn about packed B-frames. (especially useful if the file in question is
Michael Niedermayer [Mon, 26 May 2008 11:32:42 +0000 (11:32 +0000)]
Warn about packed B-frames. (especially useful if the file in question is
not an avi ...)

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

11 years agoupdate regression ref due to r13412
Baptiste Coudurier [Mon, 26 May 2008 08:22:38 +0000 (08:22 +0000)]
update regression ref due to r13412

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

11 years agoRevert "Add version information to DLLs."
Måns Rullgård [Mon, 26 May 2008 06:34:57 +0000 (06:34 +0000)]
Revert "Add version information to DLLs."
Revert "Forgot to commit changes to subdir.mak in last revision."

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

11 years agoreplace printf by av_log
Baptiste Coudurier [Mon, 26 May 2008 04:40:22 +0000 (04:40 +0000)]
replace printf by av_log

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

11 years agouse av_hex_dump_log
Baptiste Coudurier [Mon, 26 May 2008 04:38:46 +0000 (04:38 +0000)]
use av_hex_dump_log

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

11 years agouse dprintf
Baptiste Coudurier [Mon, 26 May 2008 04:34:29 +0000 (04:34 +0000)]
use dprintf

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

11 years agocosmetics, add demuxer word
Baptiste Coudurier [Mon, 26 May 2008 03:57:07 +0000 (03:57 +0000)]
cosmetics, add demuxer word

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

11 years agocosmetics, remove useless dot
Baptiste Coudurier [Mon, 26 May 2008 03:56:43 +0000 (03:56 +0000)]
cosmetics, remove useless dot

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

11 years agoreturn error if frame_offset is negative, prevent segfault
Baptiste Coudurier [Mon, 26 May 2008 03:53:48 +0000 (03:53 +0000)]
return error if frame_offset is negative, prevent segfault

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

11 years agoreturn error if len is negative, prevent segfault
Baptiste Coudurier [Mon, 26 May 2008 03:53:10 +0000 (03:53 +0000)]
return error if len is negative, prevent segfault

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

11 years agomove ffserver specific functions up and only include unistd.h in this case
Baptiste Coudurier [Mon, 26 May 2008 03:52:14 +0000 (03:52 +0000)]
move ffserver specific functions up and only include unistd.h in this case

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

11 years agomove ffm_seek1 before get_pts function since func uses it
Baptiste Coudurier [Mon, 26 May 2008 03:50:25 +0000 (03:50 +0000)]
move ffm_seek1 before get_pts function since func uses it

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

11 years agomove DEBUG_SEEK definition before get_pts since func uses it
Baptiste Coudurier [Mon, 26 May 2008 03:47:56 +0000 (03:47 +0000)]
move DEBUG_SEEK definition before get_pts since func uses it

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

11 years agomove get_pts function to avoid useless declaration
Baptiste Coudurier [Mon, 26 May 2008 03:47:07 +0000 (03:47 +0000)]
move get_pts function to avoid useless declaration

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

11 years agoremove unneeded include
Baptiste Coudurier [Mon, 26 May 2008 03:46:06 +0000 (03:46 +0000)]
remove unneeded include

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

11 years agosplit ffm de/muxer
Baptiste Coudurier [Mon, 26 May 2008 03:44:31 +0000 (03:44 +0000)]
split ffm de/muxer

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

11 years agoreenable test, data is available in this case
Baptiste Coudurier [Mon, 26 May 2008 03:37:01 +0000 (03:37 +0000)]
reenable test, data is available in this case

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

11 years agoindent
Michael Niedermayer [Mon, 26 May 2008 02:00:18 +0000 (02:00 +0000)]
indent

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

11 years agoallow av_parser_close(NULL)
Michael Niedermayer [Mon, 26 May 2008 01:58:47 +0000 (01:58 +0000)]
allow av_parser_close(NULL)
fixes issue300

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

11 years agoprint direct_spatial_mv_pred
Michael Niedermayer [Mon, 26 May 2008 01:06:15 +0000 (01:06 +0000)]
print direct_spatial_mv_pred

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

11 years agoMake stream copy of ac3 from riff based formats work.
Michael Niedermayer [Mon, 26 May 2008 00:47:49 +0000 (00:47 +0000)]
Make stream copy of ac3 from riff based formats work.

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

11 years agoparse audio in ogm demuxer.
Justin Ruggles [Mon, 26 May 2008 00:45:02 +0000 (00:45 +0000)]
parse audio in ogm demuxer.
fixes issue165.

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

11 years agoMake ac3 in avi work better.
Michael Niedermayer [Mon, 26 May 2008 00:05:30 +0000 (00:05 +0000)]
Make ac3 in avi work better.
fixes issue355.

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

11 years agoEnsure that one can store X bytes in a fifo of size X.
Michael Niedermayer [Sun, 25 May 2008 23:04:09 +0000 (23:04 +0000)]
Ensure that one can store X bytes in a fifo of size X.
Fixed issue417.

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

11 years agoMake av_fifo*_read() ignore the available amount of data.
Michael Niedermayer [Sun, 25 May 2008 22:20:39 +0000 (22:20 +0000)]
Make av_fifo*_read() ignore the available amount of data.
This is more efficient as in practice the check is redundant most of the
time. Callers which do not know if enough data is available have to check
it with av_fifo_size(). Doing the check in *read() means the caller has
no choice to skip the check when its known to be redundant.
Also the return value was never documented in a public header so
changing it should not break the API. Besides this fixes the case where
read() failed on a 100% full fifo.

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

11 years agoMake opt_verbose() work again.
Michael Niedermayer [Sun, 25 May 2008 20:34:50 +0000 (20:34 +0000)]
Make opt_verbose() work again.

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