ffmpeg.git
12 years agodo not force the halfpel filter coeffs to be retransmitted on every frame
Michael Niedermayer [Sun, 9 Sep 2007 16:54:00 +0000 (16:54 +0000)]
do not force the halfpel filter coeffs to be retransmitted on every frame
if always_reset is set

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

12 years agoupdate spec to reflect changes to implementation about per frame
Michael Niedermayer [Sun, 9 Sep 2007 15:08:40 +0000 (15:08 +0000)]
update spec to reflect changes to implementation about per frame
qlog/decomp_count

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

12 years agoallow changing of the spatial_decomposition_count and quantization tables
Michael Niedermayer [Sun, 9 Sep 2007 15:06:46 +0000 (15:06 +0000)]
allow changing of the spatial_decomposition_count and quantization tables
per frame (this is untested as the encoder does not use it yet)

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

12 years agoperform init after reading the values needed for init
Michael Niedermayer [Sun, 9 Sep 2007 13:47:25 +0000 (13:47 +0000)]
perform init after reading the values needed for init
fixes decoding of files with spatial_decomposition_count!=5

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

12 years agoDocument libavutil/mem.h:av_strdup.
Stefano Sabatini [Sun, 9 Sep 2007 13:23:34 +0000 (13:23 +0000)]
Document libavutil/mem.h:av_strdup.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

12 years agounneeded and impossible during init ...
Michael Niedermayer [Sun, 9 Sep 2007 12:46:25 +0000 (12:46 +0000)]
unneeded and impossible during init ...

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

12 years agounused
Michael Niedermayer [Sun, 9 Sep 2007 12:36:10 +0000 (12:36 +0000)]
unused

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

12 years agoallocate slice buffer after parsing the header containing needed parameters
Michael Niedermayer [Sun, 9 Sep 2007 12:33:34 +0000 (12:33 +0000)]
allocate slice buffer after parsing the header containing needed parameters
argh i really wish i had never accepted these slice patches ...

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

12 years agoremove ()
Michael Niedermayer [Sun, 9 Sep 2007 12:25:12 +0000 (12:25 +0000)]
remove ()

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

12 years agospatial_decomposition_count != 5 bugfix
Michael Niedermayer [Sun, 9 Sep 2007 12:24:45 +0000 (12:24 +0000)]
spatial_decomposition_count != 5 bugfix

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

12 years agoscaling obmc tables under #if 0 also by 4 (yes they where forgotten apparently)
Michael Niedermayer [Sun, 9 Sep 2007 12:22:11 +0000 (12:22 +0000)]
scaling obmc tables under #if 0 also by 4 (yes they where forgotten apparently)
this also requires a few entries to be ++ and -- to avoid a max of 256

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

12 years agoclarify
Michael Niedermayer [Sun, 9 Sep 2007 11:58:57 +0000 (11:58 +0000)]
clarify

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

12 years agoProperly handle nuv file with changing resolution
Reimar Döffinger [Sun, 9 Sep 2007 10:20:47 +0000 (10:20 +0000)]
Properly handle nuv file with changing resolution

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

12 years agocosmetics: Remove useless empty line.
Diego Biurrun [Sun, 9 Sep 2007 09:37:43 +0000 (09:37 +0000)]
cosmetics: Remove useless empty line.

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

12 years agoElaborate on licensing issues: A few files are from libjpeg and the
Diego Biurrun [Sun, 9 Sep 2007 09:36:32 +0000 (09:36 +0000)]
Elaborate on licensing issues: A few files are from libjpeg and the
infamous fdctref.c is all rights reserved.

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

12 years agoDo not set codec_tag when the container does not specify it.
Reimar Döffinger [Sun, 9 Sep 2007 09:21:14 +0000 (09:21 +0000)]
Do not set codec_tag when the container does not specify it.

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

12 years agoMake sure rtjpeg quality is a valid value
Reimar Döffinger [Sun, 9 Sep 2007 09:16:47 +0000 (09:16 +0000)]
Make sure rtjpeg quality is a valid value

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

12 years agoFix extreme stupidity: buffer size check must of course be before buffer use!
Reimar Döffinger [Sun, 9 Sep 2007 09:00:12 +0000 (09:00 +0000)]
Fix extreme stupidity: buffer size check must of course be before buffer use!

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

12 years ago10l, add check forgotten in last commit
Reimar Döffinger [Sun, 9 Sep 2007 08:52:53 +0000 (08:52 +0000)]
10l, add check forgotten in last commit

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

12 years agoFirst ugly and slow attempt to fix nuv files with extra frameheader
Reimar Döffinger [Sun, 9 Sep 2007 08:42:49 +0000 (08:42 +0000)]
First ugly and slow attempt to fix nuv files with extra frameheader
and per-frame rtjpeg quality

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

12 years agoSimplify nuv: factor out LZO decompression
Reimar Döffinger [Sun, 9 Sep 2007 08:22:07 +0000 (08:22 +0000)]
Simplify nuv: factor out LZO decompression

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

12 years agoCopy nuv header only when the video codec is nuv
Reimar Döffinger [Sun, 9 Sep 2007 07:25:52 +0000 (07:25 +0000)]
Copy nuv header only when the video codec is nuv

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

12 years agodocument MC
Michael Niedermayer [Sat, 8 Sep 2007 15:58:45 +0000 (15:58 +0000)]
document MC

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

12 years agorename HTAPS -> HTAPS_MAX (later is correct after the previous change)
Michael Niedermayer [Sat, 8 Sep 2007 14:52:21 +0000 (14:52 +0000)]
rename HTAPS -> HTAPS_MAX (later is correct after the previous change)

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

12 years agostore halfpel filter coefficients in the header as well as the
Michael Niedermayer [Sat, 8 Sep 2007 14:51:13 +0000 (14:51 +0000)]
store halfpel filter coefficients in the header as well as the
flag for diagonal interpolation

the primary reason for this change is that previously MC up to 1/4 pel
matched H.264 exactly and that increases the risk of stumbling over
patents

secondly this allows 0.10 db or more quality gain by choosing a longer
filter and the filter could also be chosen optimally for each frame
though that of course would cause speed loss at the decoder and encoder
side ...

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

12 years agoremove outcommented code
Michael Niedermayer [Sat, 8 Sep 2007 03:16:24 +0000 (03:16 +0000)]
remove outcommented code

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

12 years agoindention
Michael Niedermayer [Sat, 8 Sep 2007 03:15:42 +0000 (03:15 +0000)]
indention

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

12 years agocleanup mc_block()
Michael Niedermayer [Sat, 8 Sep 2007 03:14:20 +0000 (03:14 +0000)]
cleanup mc_block()
perform interpolation steps in such an order that halfpel interpolation
could be done per picture
this also makes mc_block() match h.264 for the 1/4 pel cases so that the
use of the h264 functions for some cases does not introduce a fantastic mess

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

12 years agoIndentation
Andreas Öman [Fri, 7 Sep 2007 19:19:49 +0000 (19:19 +0000)]
Indentation
patch by Andreas Öman

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

12 years agoLet H.264 decoder skip deblocking across slices
Andreas Öman [Fri, 7 Sep 2007 18:27:13 +0000 (18:27 +0000)]
Let H.264 decoder skip deblocking across slices
if running with multiple threads and CODEC_FLAGS2_FAST is set.
Thus, it may decode the slices in parallel to gain speed.

Patch by Andreas Öman: [andreas olebyn nu]

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

12 years agoUpdate mkv regression tests after r10421
David Conrad [Fri, 7 Sep 2007 15:58:08 +0000 (15:58 +0000)]
Update mkv regression tests after r10421

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

12 years agoRename the format name audio_device (used in both oss and audio_beos) to oss and...
Ramiro Polla [Fri, 7 Sep 2007 13:49:44 +0000 (13:49 +0000)]
Rename the format name audio_device (used in both oss and audio_beos) to oss and audio_beos.
-f oss and -f audio_beos should be used instead.

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

12 years agoRemove --disable-audio-oss option from configure.
Ramiro Polla [Fri, 7 Sep 2007 13:47:14 +0000 (13:47 +0000)]
Remove --disable-audio-oss option from configure.
--disable-(de)muxer=oss should be used instead.

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

12 years agoRemove --disable-audio-beos option from configure.
Ramiro Polla [Fri, 7 Sep 2007 13:45:37 +0000 (13:45 +0000)]
Remove --disable-audio-beos option from configure.
--disable-(de)muxer=audio_beos should be used instead.

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

12 years agoSeparate audio_(de)muxer into oss_(de)muxer and audio_beos_(de)muxer
Ramiro Polla [Fri, 7 Sep 2007 13:43:40 +0000 (13:43 +0000)]
Separate audio_(de)muxer into oss_(de)muxer and audio_beos_(de)muxer

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

12 years agorevert r10403
Michael Niedermayer [Fri, 7 Sep 2007 11:45:23 +0000 (11:45 +0000)]
revert r10403
there was no discussion about it nor did anyone provide any justification for it
not before it was applied nor within 48h after i explicitly asked

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

12 years agoCosmetic, change "fvstats" to "vstats_file".
Stefano Sabatini [Thu, 6 Sep 2007 20:11:02 +0000 (20:11 +0000)]
Cosmetic, change "fvstats" to "vstats_file".
Patch by Stefano Sabatini: [stefano sabatini-lala poste it]

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

12 years agoSet data_size to zero when DCA header parse failed
Limin Wang [Thu, 6 Sep 2007 14:55:13 +0000 (14:55 +0000)]
Set data_size to zero when DCA header parse failed
Patch by Limin Wang <lance('\\'>>1)lmwang>(0x24^'D')<gmail>('/' & 0xFE)<com>
Thread [PATCH] set data_size to zero if failed to parse dca header

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

12 years agoAdd a bitstream filter for H.264.
Benoit Fouet [Thu, 6 Sep 2007 12:36:07 +0000 (12:36 +0000)]
Add a bitstream filter for H.264.

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

12 years agoUse V_MPEG4/ISO/ASP for mpeg4 when muxing mkv
David Conrad [Thu, 6 Sep 2007 05:14:09 +0000 (05:14 +0000)]
Use V_MPEG4/ISO/ASP for mpeg4 when muxing mkv

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

12 years agoSet correct length for last slice in frame subpacket
Kostya Shishkov [Thu, 6 Sep 2007 03:36:38 +0000 (03:36 +0000)]
Set correct length for last slice in frame subpacket

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

12 years agomention slice-based parallel H.264 decoding in changelog
Guillaume Poirier [Wed, 5 Sep 2007 22:22:34 +0000 (22:22 +0000)]
mention slice-based parallel H.264 decoding in changelog

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

12 years agocosmetics: Add some whitespace for better readability.
Diego Biurrun [Wed, 5 Sep 2007 20:42:17 +0000 (20:42 +0000)]
cosmetics: Add some whitespace for better readability.

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

12 years agospelling/wording nits in some Doxygen comments
Diego Biurrun [Wed, 5 Sep 2007 20:31:40 +0000 (20:31 +0000)]
spelling/wording nits in some Doxygen comments

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

12 years agoAvoid a crash when H264 MMC operation causes the short term reference
Jeff Downs [Wed, 5 Sep 2007 20:04:09 +0000 (20:04 +0000)]
Avoid a crash when H264 MMC operation causes the short term reference
list to be emptied.
Patch by Jeff Downs: [heydowns borg com]

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

12 years agoRename dc1394.c to libdc1394.c
Ramiro Polla [Wed, 5 Sep 2007 18:57:03 +0000 (18:57 +0000)]
Rename dc1394.c to libdc1394.c

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

12 years agoPrefix library format names with 'lib' in libavformat
Ramiro Polla [Wed, 5 Sep 2007 18:55:20 +0000 (18:55 +0000)]
Prefix library format names with 'lib' in libavformat

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

12 years agoRemove --disable-{v4l,v4l2} options from configure
Ramiro Polla [Wed, 5 Sep 2007 18:52:14 +0000 (18:52 +0000)]
Remove --disable-{v4l,v4l2} options from configure
--disable-demuxer={v4l,v4l2} should be used instead

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

12 years agoGive better filenames to bktr and v4l grabbers
Ramiro Polla [Wed, 5 Sep 2007 18:44:06 +0000 (18:44 +0000)]
Give better filenames to bktr and v4l grabbers

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

12 years agoRemove video_grab_ prefix from video_grab_{bktr,v4l}
Ramiro Polla [Wed, 5 Sep 2007 18:29:58 +0000 (18:29 +0000)]
Remove video_grab_ prefix from video_grab_{bktr,v4l}

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

12 years agorevert 10409
Michael Niedermayer [Wed, 5 Sep 2007 17:25:39 +0000 (17:25 +0000)]
revert 10409
there is no need for put_timestamp to be exported it is not used outside the
PES code

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

12 years agoexport put_timestamp()
Michael Niedermayer [Wed, 5 Sep 2007 17:14:25 +0000 (17:14 +0000)]
export put_timestamp()
this will be needed for spliting the PES muxer code out

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

12 years agoMake sure that if a stream has a duration but the container doesn't
Neil Brown [Wed, 5 Sep 2007 16:47:48 +0000 (16:47 +0000)]
Make sure that if a stream has a duration but the container doesn't
then the container duration is set from the stream duration.

patch by Neil Brown: [ neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations
less dependant on start_time being defined.
date: 08/16/2007 08:27 AM

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

12 years agoAdd slice-based parallel H.264 decoding
Andreas Öman [Wed, 5 Sep 2007 16:18:15 +0000 (16:18 +0000)]
Add slice-based parallel H.264 decoding
Patch by Andreas Öman % andreas A olebyn P nu %
NB: depends on having a thread library activated at config time, and on
having a source encoded with multiple slices
Original threads:
date: May 18, 2007 11:00 PM
subject: [FFmpeg-devel] Parallelized h264 proof-of-concept
date: Jun 15, 2007 10:10 PM
subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept)
date: Jun 25, 2007 7:02 PM
subject: Re: [FFmpeg-devel] [PATCH] h264 parallelized

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

12 years agousing isnan instead of d==d, to signal correctly parsed option
Marc Hoffman [Wed, 5 Sep 2007 15:00:00 +0000 (15:00 +0000)]
using isnan instead of d==d, to signal correctly parsed option

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

12 years agoCorrect initial timestamp
Wolfram Gloger [Wed, 5 Sep 2007 14:11:33 +0000 (14:11 +0000)]
Correct initial timestamp
Patch by Wolfram Gloger: [wmglo $ dent med uni-muenchen de]
Original thread:
[FFmpeg-devel] [PATCH] av_estimate_timings_from_pts corrupt timestamps
date: 08/25/2007 09:51 PM

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

12 years agoReplace outdated BeOS section with a note that says that it is broken.
Diego Biurrun [Wed, 5 Sep 2007 12:24:39 +0000 (12:24 +0000)]
Replace outdated BeOS section with a note that says that it is broken.

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

12 years agoAdd description for feature_request/open/approved.
Mark Cox [Wed, 5 Sep 2007 11:46:23 +0000 (11:46 +0000)]
Add description for feature_request/open/approved.
patch by Mark Cox, melbournemark+ffmpeg gmail com

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

12 years agoFix put_*_xy2_arm bug and enable put_pixels16_arm and put_pixels8_y2_arm.
Tao Huang [Wed, 5 Sep 2007 11:05:33 +0000 (11:05 +0000)]
Fix put_*_xy2_arm bug and enable put_pixels16_arm and put_pixels8_y2_arm.
Speed up > 4%.
patch by Tao Huang, ulysses.huang gmail com

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

12 years agoSort one more list alphabetically.
Diego Biurrun [Wed, 5 Sep 2007 10:38:59 +0000 (10:38 +0000)]
Sort one more list alphabetically.

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

12 years agoAlphabetically sort library dependencies list.
Diego Biurrun [Wed, 5 Sep 2007 10:04:55 +0000 (10:04 +0000)]
Alphabetically sort library dependencies list.

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

12 years agoFix links to ARM documentation
Guillaume Poirier [Wed, 5 Sep 2007 07:49:01 +0000 (07:49 +0000)]
Fix links to ARM documentation

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

12 years agoAAC support in the SDP generator
Luca Abeni [Wed, 5 Sep 2007 06:30:59 +0000 (06:30 +0000)]
AAC support in the SDP generator

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

12 years agoMove H.264 intra prediction functions into their own context
Kostya Shishkov [Wed, 5 Sep 2007 05:30:08 +0000 (05:30 +0000)]
Move H.264 intra prediction functions into their own context

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

12 years ago16bit IDWT implementation note
Michael Niedermayer [Wed, 5 Sep 2007 02:04:12 +0000 (02:04 +0000)]
16bit IDWT implementation note

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

12 years agomore todo
Michael Niedermayer [Wed, 5 Sep 2007 01:57:29 +0000 (01:57 +0000)]
more todo

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

12 years agoadd a 8 taps filter for testing
Michael Niedermayer [Wed, 5 Sep 2007 01:49:14 +0000 (01:49 +0000)]
add a 8 taps filter for testing

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

12 years agofix decoding of dracula.4xm before diego complains
Michael Niedermayer [Wed, 5 Sep 2007 01:21:32 +0000 (01:21 +0000)]
fix decoding of dracula.4xm before diego complains

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

12 years agofix segfault with dracula.4xm
Michael Niedermayer [Wed, 5 Sep 2007 01:14:17 +0000 (01:14 +0000)]
fix segfault with dracula.4xm
closes issue132

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

12 years agoMatroska regression tests
David Conrad [Wed, 5 Sep 2007 01:05:54 +0000 (01:05 +0000)]
Matroska regression tests

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

12 years agoReplace constants by HTAPS (half pel interpolation filter taps) where appropriate.
Michael Niedermayer [Wed, 5 Sep 2007 00:49:09 +0000 (00:49 +0000)]
Replace constants by HTAPS (half pel interpolation filter taps) where appropriate.

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

12 years agoEnable Matroska muxer
David Conrad [Wed, 5 Sep 2007 00:38:42 +0000 (00:38 +0000)]
Enable Matroska muxer

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

12 years agoGrammar nits
David Conrad [Wed, 5 Sep 2007 00:26:11 +0000 (00:26 +0000)]
Grammar nits

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

12 years agoAlways use AVFormatContext for av_log messages
David Conrad [Wed, 5 Sep 2007 00:26:09 +0000 (00:26 +0000)]
Always use AVFormatContext for av_log messages

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

12 years agoRename ebml size functions to indicate that they can be used for more kinds of numbers
David Conrad [Wed, 5 Sep 2007 00:26:07 +0000 (00:26 +0000)]
Rename ebml size functions to indicate that they can be used for more kinds of numbers

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

12 years agoWe shouldn't be passing in sizes larger than 2^56-2, so use an assert
David Conrad [Wed, 5 Sep 2007 00:26:04 +0000 (00:26 +0000)]
We shouldn't be passing in sizes larger than 2^56-2, so use an assert

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

12 years agoIndentation
David Conrad [Wed, 5 Sep 2007 00:26:03 +0000 (00:26 +0000)]
Indentation

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

12 years agoDon't seek when streamed
David Conrad [Wed, 5 Sep 2007 00:26:00 +0000 (00:26 +0000)]
Don't seek when streamed

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

12 years agoGet rid of useless braces
David Conrad [Wed, 5 Sep 2007 00:25:58 +0000 (00:25 +0000)]
Get rid of useless braces

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

12 years agoIndent
David Conrad [Wed, 5 Sep 2007 00:25:56 +0000 (00:25 +0000)]
Indent

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

12 years agoMatch the behaviour betwen the bmp and wav codec tag lookups
David Conrad [Wed, 5 Sep 2007 00:25:54 +0000 (00:25 +0000)]
Match the behaviour betwen the bmp and wav codec tag lookups

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

12 years agoWrite codecprivate to a dynamic buffer so that seeking isn't required
David Conrad [Wed, 5 Sep 2007 00:25:52 +0000 (00:25 +0000)]
Write codecprivate to a dynamic buffer so that seeking isn't required

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

12 years agoMove writing codec private element to its own function
David Conrad [Wed, 5 Sep 2007 00:25:49 +0000 (00:25 +0000)]
Move writing codec private element to its own function

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

12 years agoCosmetics
David Conrad [Wed, 5 Sep 2007 00:25:46 +0000 (00:25 +0000)]
Cosmetics

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

12 years agoUse num_entries directly rather than mixing it with a local copy
David Conrad [Wed, 5 Sep 2007 00:25:44 +0000 (00:25 +0000)]
Use num_entries directly rather than mixing it with a local copy

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

12 years agoDoxygenify comments
David Conrad [Wed, 5 Sep 2007 00:25:42 +0000 (00:25 +0000)]
Doxygenify comments

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

12 years agoMake sure that the calculated duration doesn't decrease
David Conrad [Wed, 5 Sep 2007 00:25:40 +0000 (00:25 +0000)]
Make sure that the calculated duration doesn't decrease

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

12 years agoSplit some really long lines
David Conrad [Wed, 5 Sep 2007 00:25:38 +0000 (00:25 +0000)]
Split some really long lines

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

12 years agoCorrect message
David Conrad [Wed, 5 Sep 2007 00:25:35 +0000 (00:25 +0000)]
Correct message

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

12 years agoAlways check the return of mkv_add_seekhead_entry
David Conrad [Wed, 5 Sep 2007 00:25:34 +0000 (00:25 +0000)]
Always check the return of mkv_add_seekhead_entry

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

12 years agoPass the returned error code of functions up
David Conrad [Wed, 5 Sep 2007 00:25:32 +0000 (00:25 +0000)]
Pass the returned error code of functions up

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

12 years agoCheck that the seekheads were created
David Conrad [Wed, 5 Sep 2007 00:25:29 +0000 (00:25 +0000)]
Check that the seekheads were created

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

12 years agoReturn AVERROR(ENOMEM) when appropriate
David Conrad [Wed, 5 Sep 2007 00:25:27 +0000 (00:25 +0000)]
Return AVERROR(ENOMEM) when appropriate

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

12 years agoIndentation
David Conrad [Wed, 5 Sep 2007 00:25:24 +0000 (00:25 +0000)]
Indentation

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

12 years agoUse assert for conditions that must be true
David Conrad [Wed, 5 Sep 2007 00:25:22 +0000 (00:25 +0000)]
Use assert for conditions that must be true

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

12 years agoSimplify
David Conrad [Wed, 5 Sep 2007 00:25:20 +0000 (00:25 +0000)]
Simplify

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

12 years agoGrammar nits
David Conrad [Wed, 5 Sep 2007 00:25:18 +0000 (00:25 +0000)]
Grammar nits

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

12 years agoBreak long comments
David Conrad [Wed, 5 Sep 2007 00:25:16 +0000 (00:25 +0000)]
Break long comments

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

12 years agoUse sample format for bit depth if av_get_bits_per_sample() doesn't give one
David Conrad [Wed, 5 Sep 2007 00:25:14 +0000 (00:25 +0000)]
Use sample format for bit depth if av_get_bits_per_sample() doesn't give one

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

12 years agoCalculate and store DAR rather than SAR
David Conrad [Wed, 5 Sep 2007 00:25:07 +0000 (00:25 +0000)]
Calculate and store DAR rather than SAR

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