Michael Niedermayer
e8c9383914
Remove 2 ++ from check_pes() that are useless, found by CSA.
...
Originally committed as revision 18577 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
9ba4821d93
Split TrueHD decoder from MLP
...
Originally committed as revision 18045 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
1aeb55a1de
Mark dvdaudio_substream_type variable as av_uninit to work around false
...
positive uninitialized variable warning.
Originally committed as revision 17825 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
80e58c6153
Allow demuxing of audio substreams stored as 0x06 type.
...
Fixes issue 725: MPEG2 PS with PCM audio.
On behalf of Jai.
Originally committed as revision 17150 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
d84d6fbf28
Increase the number of packets required to identify as MPEG PES to keep from
...
identifying MP3 files with padding or garbage at the beginning.
Originally committed as revision 17091 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
fb65d2ca84
Use enum typers instead of int.
...
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail
Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
dd1c8f3e6e
Bump Major version, this commit is almost just renaming bits_per_sample to
...
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!
Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
274335e76c
vertical align
...
Originally committed as revision 14972 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ff9c8d7c6f
Add flag to mark demuxers that can output discontinuous timestamps.
...
(could also be added to muxers if someone wants)
Originally committed as revision 14777 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c1c9046656
Use CODEC_ID_PROBE when the mpeg-ps demuxer does not know exactly which
...
video codec is used.
Fixes issue49 Departed Trailer.evo (mpeg ps missdetecting h264 as mpeg2video)
Originally committed as revision 14196 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
9b64a036c0
remove useless close funcs
...
Originally committed as revision 13835 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Joakim Plate
5faf168940
Check return of url_fseek in mpeg timestamp reading code.
...
Patch by Joakim elupus ecce se
Originally committed as revision 13527 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Lars Täuber
4860abb116
support dvd pcm 20/24 bits, patch by Lars Täuber, lars.taeuber gmx net
...
Originally committed as revision 13206 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b22d0c04d7
Support invalid mpeg created by vdr
...
(http://www.lucke.in-berlin.de/test_streams/last_played_fine_with_r7852_001.vdr ).
fixes issue434
Originally committed as revision 13014 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
675b8390f6
Ignore flags after pts/dts if there are no bytes left.
...
Fixes decoding of vdr-radio.vdr. (issue198)
Originally committed as revision 12310 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michel Bardiaux
6ba90c204c
Suppress runaway index on streamed input
...
Originally committed as revision 11527 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Paul Kelly
3dea63bd7e
user specifyable maximum amount of memory to use for the index.
...
patch by Paul Kelly paul stjohnspoint co uk
with some changes by me
Originally committed as revision 11521 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ivo van Poorten
66e9e30239
Move parsing of MPEG-PES timestamp to mpeg.h (as an inline function) so it
...
can easily be reused by other demuxers for formats that encapsulate MPEG-PES.
Originally committed as revision 11451 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ivo van Poorten
3d94e3ba93
use one shift less in get_pts()
...
Originally committed as revision 11383 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Allan Sandfeld Jensen
7dc75e8d43
Revert r6124, the change was just wrong, other formats than MPEG-PS can be
...
stored in CDXA as well. And the need for a CDXA specific check is questionable.
Also ive ok-ed that patch instead of mans ...
fixes issue287 (psxstr misdetection as MPEG-PS)
Original commit message:
add support for information in CDXA format
patch by Allan Sandfeld Jensen % kde A carewolf P com %
Original thread:
Date: Aug 18, 2006 6:33 PM
Subject: [Ffmpeg-devel] CDXA in libavformat [patch]
Originally committed as revision 11314 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7e1720dec6
make mpeg-ps probe less happy with random data
...
fixes missdetection of O-MP3-5.mp3
Originally committed as revision 11149 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
2c18784703
Improve Sofdec file detection
...
Originally committed as revision 10967 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
73039e0fb4
fix potential buffer over-read
...
Originally committed as revision 10966 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
cc04af3481
fix negative fseek
...
Originally committed as revision 10965 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
8cd4ac3d63
correctly set audio codec when demuxing sofdec files
...
samples: http://samples.mplayerhq.hu/game-formats/sfd/
Originally committed as revision 10953 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0c904db118
typo
...
Originally committed as revision 10910 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c6dcd0d7f0
fix misdetection of mp3could_not_find_codec_parameters.mp3
...
Originally committed as revision 10908 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
2009c7fc96
revert part of r10899 which was not intended
...
Originally committed as revision 10901 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
6177c7efe1
remove useless initialization to 0 of adx context
...
Originally committed as revision 10899 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4cd2508139
fix misdetection of out.ac3
...
Originally committed as revision 9930 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3504467f8b
//more debug info
...
Originally committed as revision 9929 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
...
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
c4f27438ef
remove now useless ifdef
...
Originally committed as revision 9383 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
2abe5a01c8
split mpeg ps and variants muxer and demuxer, I'll clean more in a few minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common
...
Originally committed as revision 9382 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Wolfram Gloger
7af636d44a
Fix loop condition so it can be run through more than once.
...
patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de
reference: [Ffmpeg-devel] buffer underflow messages from the output_example.c
Originally committed as revision 8860 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Wolfram Gloger
268fc08290
more detailed error message for buffer underflow
...
patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de
Originally committed as revision 8859 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
57004ff1d7
add an enum for need_parsing
...
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
87e8788680
allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks
...
Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
8fa36ae09d
This fixes error handling for BeOS, removing the need for some ifdefs.
...
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.
Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
aad512b4ec
Revised patch for HD DVD .EVO demuxing by (Ian Caulfield <lowercase name seperated by . place at here gmail place a dot here com>)
...
Originally committed as revision 7853 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
80036204af
simplify
...
Originally committed as revision 7567 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b90ba24b9a
simplify pts/dts reading
...
Originally committed as revision 7565 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
75a9fbb9e9
cosmetic
...
Originally committed as revision 7563 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
7e4709b18f
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
18 years ago
Michael Niedermayer
e56cfad04b
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
18 years ago
Steve L'Homme
949b1a13bf
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
...
patch by Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago