ffmpeg.git
11 years agoSync already committed code with that in SoC and commit more OKed hunks of code
Robert Swain [Sat, 9 Aug 2008 10:46:27 +0000 (10:46 +0000)]
Sync already committed code with that in SoC and commit more OKed hunks of code

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

11 years agoRemove odd pairwise deblock filtering applied to MBAFF MBs.
Michael Niedermayer [Sat, 9 Aug 2008 01:17:34 +0000 (01:17 +0000)]
Remove odd pairwise deblock filtering applied to MBAFF MBs.

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

11 years agomatroskadec: add basic tags support (metadata)
Aurelien Jacobs [Fri, 8 Aug 2008 23:50:38 +0000 (23:50 +0000)]
matroskadec: add basic tags support (metadata)

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

11 years agoPCM regression tests.
Peter Ross [Fri, 8 Aug 2008 23:31:43 +0000 (23:31 +0000)]
PCM regression tests.

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

11 years agoCosmetics: fix weird indent.
Stefano Sabatini [Fri, 8 Aug 2008 19:50:35 +0000 (19:50 +0000)]
Cosmetics: fix weird indent.

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

11 years agoImplement avfilter_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:43:38 +0000 (18:43 +0000)]
Implement avfilter_version().

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

11 years agoImplement avdevice_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:42:31 +0000 (18:42 +0000)]
Implement avdevice_version().

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

11 years agoImplement avformat_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:40:50 +0000 (18:40 +0000)]
Implement avformat_version().

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

11 years agoDoxygenate avcodec_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:34:27 +0000 (18:34 +0000)]
Doxygenate avcodec_version().

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

11 years agoImplement avutil_version().
Stefano Sabatini [Fri, 8 Aug 2008 18:32:20 +0000 (18:32 +0000)]
Implement avutil_version().

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

11 years agoCosmetics: make a v4l2 error message consistent with r14647.
Stefano Sabatini [Fri, 8 Aug 2008 18:14:21 +0000 (18:14 +0000)]
Cosmetics: make a v4l2 error message consistent with r14647.

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

11 years agoChange OSS long names.
Benoit Fouet [Fri, 8 Aug 2008 12:52:12 +0000 (12:52 +0000)]
Change OSS long names.

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

11 years agofix 4:2:2 psnr
Baptiste Coudurier [Fri, 8 Aug 2008 02:56:44 +0000 (02:56 +0000)]
fix 4:2:2 psnr

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

11 years agoremove mxf.c, previously copied to mxfdec.c
Baptiste Coudurier [Thu, 7 Aug 2008 17:33:53 +0000 (17:33 +0000)]
remove mxf.c, previously copied to mxfdec.c

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

11 years agoAdd simpler/cleaner/faster F32BE encoding/decoding.
Peter Ross [Thu, 7 Aug 2008 09:32:10 +0000 (09:32 +0000)]
Add simpler/cleaner/faster F32BE encoding/decoding.

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

11 years agoSimplify PCM codec; change 'n' in pcm_decode_frame() to equal "total number of samples".
Peter Ross [Thu, 7 Aug 2008 09:23:56 +0000 (09:23 +0000)]
Simplify PCM codec; change 'n' in pcm_decode_frame() to equal "total number of samples".

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

11 years agoPrevent DAUD PCM encoder from fetching values outside of ff_reverse[] array bounds...
Peter Ross [Thu, 7 Aug 2008 08:16:42 +0000 (08:16 +0000)]
Prevent DAUD PCM encoder from fetching values outside of ff_reverse[] array bounds when input sample values are < 0.

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

11 years agoRemove unused redefinition of av_log for test.
Benoit Fouet [Thu, 7 Aug 2008 07:01:54 +0000 (07:01 +0000)]
Remove unused redefinition of av_log for test.

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

11 years agoRemove useless 'channels' assignment.
Benoit Fouet [Thu, 7 Aug 2008 06:56:37 +0000 (06:56 +0000)]
Remove useless 'channels' assignment.

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

11 years agorename mxf.c to mxfdec.c
Baptiste Coudurier [Thu, 7 Aug 2008 02:12:14 +0000 (02:12 +0000)]
rename mxf.c to mxfdec.c

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

11 years agoMaintain pointer to end of AVFormatContext.packet_buffer list
Måns Rullgård [Wed, 6 Aug 2008 22:17:38 +0000 (22:17 +0000)]
Maintain pointer to end of AVFormatContext.packet_buffer list

This changes add_to_pktbuf() to maintain a pointer to the last entry
in the list, avoiding a linear walk-through on each call.  Before this
change, add_to_pktbuf() could take a significant amount of time (10%
of total decoding time), even with input files of several minutes.
After the change, the time spent in this function is barely measurable
with oprofile.

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

11 years agoCosmetics: rename loop counters in eval_refl()
Vitor Sessak [Wed, 6 Aug 2008 21:19:30 +0000 (21:19 +0000)]
Cosmetics: rename loop counters in eval_refl()

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

11 years agoSimplify eval_refl(): do not store a buffer value in a var when the buffer could...
Vitor Sessak [Wed, 6 Aug 2008 21:16:24 +0000 (21:16 +0000)]
Simplify eval_refl(): do not store a buffer value in a var when the buffer could be used directly

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

11 years agoSimplify eval_refl(): s/b == 0/!b/
Vitor Sessak [Wed, 6 Aug 2008 21:04:40 +0000 (21:04 +0000)]
Simplify eval_refl(): s/b == 0/!b/

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

11 years agoSimplify range checking in eval_refl(). Before the
Vitor Sessak [Wed, 6 Aug 2008 21:02:56 +0000 (21:02 +0000)]
Simplify range checking in eval_refl(). Before the
condition b == 0 could never be true, because it would
have already been caught in the previous ifs. Also the
condition b == 0x1000 could never be true (it would
triggered the return).

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

11 years agoCosmetics: reindent
Vitor Sessak [Wed, 6 Aug 2008 20:39:28 +0000 (20:39 +0000)]
Cosmetics: reindent

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

11 years agoSimplify do_output_subblock(): Remove a unneeded memcpy
Vitor Sessak [Wed, 6 Aug 2008 20:38:23 +0000 (20:38 +0000)]
Simplify do_output_subblock(): Remove a unneeded memcpy

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

11 years agoDistinguish the error reporting for the cases of wrong size and wrong
Stefano Sabatini [Wed, 6 Aug 2008 18:21:35 +0000 (18:21 +0000)]
Distinguish the error reporting for the cases of wrong size and wrong
timebase in the video4linux2 v4l2_read_header() function.

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

11 years agoDistinguish the error reporting for the cases of wrong size and wrong
Stefano Sabatini [Wed, 6 Aug 2008 18:20:04 +0000 (18:20 +0000)]
Distinguish the error reporting for the cases of wrong size and wrong
timebase in the video4linux grab_read_header() function.

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

11 years agoRemove a useless directive.
Benoit Fouet [Wed, 6 Aug 2008 12:04:35 +0000 (12:04 +0000)]
Remove a useless directive.

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

11 years agoCosmetics: indentation
Benoit Fouet [Wed, 6 Aug 2008 12:03:51 +0000 (12:03 +0000)]
Cosmetics: indentation

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

11 years agoAdd Electronic Arts TGV chunk tags to EA demuxer.
Peter Ross [Wed, 6 Aug 2008 08:34:35 +0000 (08:34 +0000)]
Add Electronic Arts TGV chunk tags to EA demuxer.

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

11 years agoElectronic Arts TGV decoder
Peter Ross [Wed, 6 Aug 2008 08:33:25 +0000 (08:33 +0000)]
Electronic Arts TGV decoder

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

11 years agoAdd av_memcpy_backptr(): deliberately overlapping memcpy variant.
Peter Ross [Wed, 6 Aug 2008 08:17:03 +0000 (08:17 +0000)]
Add av_memcpy_backptr(): deliberately overlapping memcpy variant.

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

11 years agoSimplify eval_refl(): return directly when needed instead of storing the return value...
Vitor Sessak [Wed, 6 Aug 2008 05:24:21 +0000 (05:24 +0000)]
Simplify eval_refl(): return directly when needed instead of storing the return value in a variable

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

11 years agoSimplify rms(): merge a few operations in the same statement
Vitor Sessak [Wed, 6 Aug 2008 05:11:46 +0000 (05:11 +0000)]
Simplify rms(): merge a few operations in the same statement

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

11 years agoCosmetical simplification in t_sqrt()
Vitor Sessak [Wed, 6 Aug 2008 05:08:48 +0000 (05:08 +0000)]
Cosmetical simplification in t_sqrt()

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

11 years agoCheck available size before writing in decode_frame()
Vitor Sessak [Wed, 6 Aug 2008 05:06:10 +0000 (05:06 +0000)]
Check available size before writing in decode_frame()

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

11 years agoCheck *data_size in decode_frame()
Vitor Sessak [Wed, 6 Aug 2008 03:00:15 +0000 (03:00 +0000)]
Check *data_size in decode_frame()

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

11 years agoCosmetics: alignment
Vitor Sessak [Wed, 6 Aug 2008 02:49:22 +0000 (02:49 +0000)]
Cosmetics: alignment

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

11 years agoFlip (by making buf[i] -> buf[size-i-1]) two buffers: {sp,gain}_block. This
Vitor Sessak [Wed, 6 Aug 2008 02:44:59 +0000 (02:44 +0000)]
Flip (by making buf[i] -> buf[size-i-1]) two buffers: {sp,gain}_block. This
needs duplicating a few loops, but now the code is clearer.

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

11 years agomatroskadec: use av_freep(&x) instead of av_free(x);x=NULL
Aurelien Jacobs [Wed, 6 Aug 2008 00:21:10 +0000 (00:21 +0000)]
matroskadec: use av_freep(&x) instead of av_free(x);x=NULL

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

11 years agomatroskadec: replace matroska_queue_packet with a single call to dynarray_add
Anton Khirnov [Wed, 6 Aug 2008 00:17:47 +0000 (00:17 +0000)]
matroskadec: replace matroska_queue_packet with a single call to dynarray_add
patch by Anton Khirnov  wyskas _at_ gmail _dot_ com

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

11 years agoadd dv 4:1:1 regression test
Baptiste Coudurier [Tue, 5 Aug 2008 23:03:02 +0000 (23:03 +0000)]
add dv 4:1:1 regression test

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

11 years ago100l, fix test, ref values were done with mv0, dunno how this slipped in
Baptiste Coudurier [Tue, 5 Aug 2008 22:55:59 +0000 (22:55 +0000)]
100l, fix test, ref values were done with mv0, dunno how this slipped in

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

11 years agoadd mpeg2 4:2:2 regression test
Baptiste Coudurier [Tue, 5 Aug 2008 21:59:51 +0000 (21:59 +0000)]
add mpeg2 4:2:2 regression test

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

11 years agoFix small typo.
Diego Biurrun [Tue, 5 Aug 2008 21:46:10 +0000 (21:46 +0000)]
Fix small typo.

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

11 years agoPrevent low delay from being used with mpeg1.
Michael Niedermayer [Tue, 5 Aug 2008 20:39:58 +0000 (20:39 +0000)]
Prevent low delay from being used with mpeg1.

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

11 years agoOKed sections of code from the SoC AAC decoder
Robert Swain [Tue, 5 Aug 2008 19:32:01 +0000 (19:32 +0000)]
OKed sections of code from the SoC AAC decoder

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

11 years agoMove shared tables to aactab.c and add declarations to aactab.h. Also sync with
Robert Swain [Tue, 5 Aug 2008 19:31:05 +0000 (19:31 +0000)]
Move shared tables to aactab.c and add declarations to aactab.h. Also sync with
SoC code.

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

11 years agoAAC definitions and structures that have been OKed from the SoC AAC decoder
Robert Swain [Tue, 5 Aug 2008 19:27:17 +0000 (19:27 +0000)]
AAC definitions and structures that have been OKed from the SoC AAC decoder
code

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

11 years agoUse local variabes for *stride, where local variables exist.
Michael Niedermayer [Tue, 5 Aug 2008 12:06:30 +0000 (12:06 +0000)]
Use local variabes for *stride, where local variables exist.

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

11 years agoindent
Michael Niedermayer [Tue, 5 Aug 2008 11:34:46 +0000 (11:34 +0000)]
indent

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

11 years agoSimplify l1mv/l1ref calculation.
Michael Niedermayer [Tue, 5 Aug 2008 11:33:40 +0000 (11:33 +0000)]
Simplify l1mv/l1ref calculation.

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

11 years agosimplify y_shift/ref_shift code
Michael Niedermayer [Tue, 5 Aug 2008 11:17:23 +0000 (11:17 +0000)]
simplify y_shift/ref_shift code

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

11 years agoindent
Michael Niedermayer [Tue, 5 Aug 2008 11:04:49 +0000 (11:04 +0000)]
indent

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

11 years agoFactorize some code between temporal and spatial direct mode.
Michael Niedermayer [Tue, 5 Aug 2008 11:00:17 +0000 (11:00 +0000)]
Factorize some code between temporal and spatial direct mode.

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

11 years agoSupport muxing of Zork PCM audio into RIFF formats.
Peter Ross [Tue, 5 Aug 2008 10:38:25 +0000 (10:38 +0000)]
Support muxing of Zork PCM audio into RIFF formats.

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

11 years agomisc spelling/grammar fixes
Diego Biurrun [Tue, 5 Aug 2008 08:28:57 +0000 (08:28 +0000)]
misc spelling/grammar fixes

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

11 years agoRename prodsum() function to convolve()
Vitor Sessak [Tue, 5 Aug 2008 04:52:33 +0000 (04:52 +0000)]
Rename prodsum() function to convolve()

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

11 years agocosmetics: use a better function name than uncouple_channels()
Justin Ruggles [Tue, 5 Aug 2008 01:49:01 +0000 (01:49 +0000)]
cosmetics: use a better function name than uncouple_channels()

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

11 years agocosmetics: change function name and comments to refer to block decoding
Justin Ruggles [Tue, 5 Aug 2008 01:31:40 +0000 (01:31 +0000)]
cosmetics: change function name and comments to refer to block decoding
instead of block parsing

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

11 years agomatroskadec: update seek regression test to match new ebml parser
Aurelien Jacobs [Tue, 5 Aug 2008 00:43:04 +0000 (00:43 +0000)]
matroskadec: update seek regression test to match new ebml parser
This change is due to r14590.
The AVPacket position now points to the first byte of the actual
packet data in the file. It previously pointed to the EBML element
ID preceding packet data.

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

11 years agomatroskadec: remove useless num_streams
Aurelien Jacobs [Tue, 5 Aug 2008 00:43:01 +0000 (00:43 +0000)]
matroskadec: remove useless num_streams

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

11 years agomatroskadec: expand useless ebml_read_element_id() wrapper
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:58 +0000 (00:42 +0000)]
matroskadec: expand useless ebml_read_element_id() wrapper

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

11 years agomatroskadec: simplify matroska_ebmlnum_sint()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:55 +0000 (00:42 +0000)]
matroskadec: simplify matroska_ebmlnum_sint()

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

11 years agomatroskadec: implement matroska_ebmlnum_uint() using ebml_read_num()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:52 +0000 (00:42 +0000)]
matroskadec: implement matroska_ebmlnum_uint() using ebml_read_num()

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

11 years agomatroska: expand useless define for MS compat codec id strings
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:49 +0000 (00:42 +0000)]
matroska: expand useless define for MS compat codec id strings

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

11 years agomatroskadec: remove useless comments in ff_mkv_codec_tags
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:46 +0000 (00:42 +0000)]
matroskadec: remove useless comments in ff_mkv_codec_tags

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

11 years agomatroskadec: update copyright year and related comments
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:43 +0000 (00:42 +0000)]
matroskadec: update copyright year and related comments

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

11 years agomatroskadec: reorder some functions in a more logical order
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:39 +0000 (00:42 +0000)]
matroskadec: reorder some functions in a more logical order

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

11 years agomatroskadec: remove now useless wrapper ebml_read_element_length()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:36 +0000 (00:42 +0000)]
matroskadec: remove now useless wrapper ebml_read_element_length()

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

11 years agomatroskadec: remove now useless wrapper ebml_read_seek()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:33 +0000 (00:42 +0000)]
matroskadec: remove now useless wrapper ebml_read_seek()

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

11 years agomatroskadec: remove now useless peek_id
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:29 +0000 (00:42 +0000)]
matroskadec: remove now useless peek_id

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

11 years agomatroskadec: don't try to re-read already parsed ID in matroska_parse_cluster()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:26 +0000 (00:42 +0000)]
matroskadec: don't try to re-read already parsed ID in matroska_parse_cluster()

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

11 years agomatroskadec: remove now unused parameter 'once' from ebml_parse_nest()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:23 +0000 (00:42 +0000)]
matroskadec: remove now unused parameter 'once' from ebml_parse_nest()

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

11 years agomatroskadec: directly use ebml_parse() or ebml_parse_id() where it's enough
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:20 +0000 (00:42 +0000)]
matroskadec: directly use ebml_parse() or ebml_parse_id() where it's enough

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

11 years agomatroskadec: new ebml_parse() function, centralize ebml_read_element_id() calls
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:17 +0000 (00:42 +0000)]
matroskadec: new ebml_parse() function, centralize ebml_read_element_id() calls

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

11 years agomatroskadec: rename ebml_parse() to ebml_parse_nest()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:13 +0000 (00:42 +0000)]
matroskadec: rename ebml_parse() to ebml_parse_nest()

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

11 years agomatroskadec: don't care about the number of bytes read by ebml_read_element_id()
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:10 +0000 (00:42 +0000)]
matroskadec: don't care about the number of bytes read by ebml_read_element_id()

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

11 years agomatroskadec: simplify check for hierarchy level
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:08 +0000 (00:42 +0000)]
matroskadec: simplify check for hierarchy level

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

11 years agomatroskadec: cosmetics: consistent style for function declarations
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:05 +0000 (00:42 +0000)]
matroskadec: cosmetics: consistent style for function declarations

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

11 years agomatroskadec: Use string instead of char table as probe data comparison source.
Aurelien Jacobs [Tue, 5 Aug 2008 00:42:02 +0000 (00:42 +0000)]
matroskadec: Use string instead of char table as probe data comparison source.

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

11 years agomatroskadec: use an EbmlBin as parameter to ebml_read_binary()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:59 +0000 (00:41 +0000)]
matroskadec: use an EbmlBin as parameter to ebml_read_binary()

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

11 years agomatroskadec: extract common code out of ebml_read_*()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:55 +0000 (00:41 +0000)]
matroskadec: extract common code out of ebml_read_*()

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

11 years agomatroskadec: simplify/cleanup error logging in ebml_read_*()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:52 +0000 (00:41 +0000)]
matroskadec: simplify/cleanup error logging in ebml_read_*()

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

11 years agomatroskadec: remove now useless expected_id parameter from ebml_parse()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:50 +0000 (00:41 +0000)]
matroskadec: remove now useless expected_id parameter from ebml_parse()

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

11 years agomatroskadec: expand useless ebml_peek_id() wrapper
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:46 +0000 (00:41 +0000)]
matroskadec: expand useless ebml_peek_id() wrapper

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

11 years agomatroskadec: remove unused levelup parameter from ebml_read_element_id()
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:43 +0000 (00:41 +0000)]
matroskadec: remove unused levelup parameter from ebml_read_element_id()

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

11 years agomatroskadec: extract read_level_up out of ebml_read_element_id
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:40 +0000 (00:41 +0000)]
matroskadec: extract read_level_up out of ebml_read_element_id

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

11 years agomatroskadec: remove useless levelup check
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:37 +0000 (00:41 +0000)]
matroskadec: remove useless levelup check

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

11 years agomatroskadec: remove useless check for cluster presence
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:34 +0000 (00:41 +0000)]
matroskadec: remove useless check for cluster presence

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

11 years agomatroskadec: cosmetics: placement of 'else if'
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:31 +0000 (00:41 +0000)]
matroskadec: cosmetics: placement of 'else if'

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

11 years agomatroskadec: remove some useless empty lines
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:28 +0000 (00:41 +0000)]
matroskadec: remove some useless empty lines

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

11 years agomatroskadec: remove some useless or out of date comments
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:25 +0000 (00:41 +0000)]
matroskadec: remove some useless or out of date comments

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

11 years agomatroskadec: cosmetics
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:22 +0000 (00:41 +0000)]
matroskadec: cosmetics

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

11 years agomatroskadec: remove unused struct name
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:19 +0000 (00:41 +0000)]
matroskadec: remove unused struct name

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

11 years agomatroskadec: remove now unused context fields
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:16 +0000 (00:41 +0000)]
matroskadec: remove now unused context fields

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

11 years agomatroskadec: remove useless initialization
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:13 +0000 (00:41 +0000)]
matroskadec: remove useless initialization

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

11 years agomatroskadec: cosmetics: remove useless braces
Aurelien Jacobs [Tue, 5 Aug 2008 00:41:10 +0000 (00:41 +0000)]
matroskadec: cosmetics: remove useless braces

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