Statistics
| Branch: | Revision:

ffmpeg / libavformat / mpeg.c @ c60208e7

History | View | Annotate | Download (17.8 KB)

# Date Author Comment
406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

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

fb65d2ca 10/02/2008 04:03 PM Diego Pettenò

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

dd1c8f3e 09/08/2008 02:24 PM Luca Abeni

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...

274335e7 08/26/2008 01:29 AM Michael Niedermayer

vertical align

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

ff9c8d7c 08/15/2008 04:13 PM Michael Niedermayer

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

c1c90466 07/12/2008 10:17 PM Michael Niedermayer

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

9b64a036 06/19/2008 11:25 PM Baptiste Coudurier

remove useless close funcs

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

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

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

5faf1689 05/29/2008 09:50 AM Joakim Plate

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

4860abb1 05/21/2008 02:26 AM Lars Täuber

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

b22d0c04 04/29/2008 12:12 AM Michael Niedermayer

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

675b8390 03/04/2008 01:31 AM Michael Niedermayer

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

6ba90c20 01/14/2008 04:11 PM Michel Bardiaux

Suppress runaway index on streamed input

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

3dea63bd 01/13/2008 01:33 PM Paul Kelly

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

66e9e302 01/07/2008 11:32 PM Ivo van Poorten

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

3d94e3ba 01/03/2008 10:02 AM Ivo van Poorten

use one shift less in get_pts()

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

7dc75e8d 12/25/2007 09:37 AM Allan Sandfeld Jensen

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:...

7e1720de 12/03/2007 09:37 AM Michael Niedermayer

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

899681cd 11/21/2007 07:41 AM Björn Axelsson

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

2c187847 11/08/2007 09:27 PM Måns Rullgård

Improve Sofdec file detection

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

73039e0f 11/08/2007 08:53 PM Aurelien Jacobs

fix potential buffer over-read

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

cc04af34 11/08/2007 08:50 PM Aurelien Jacobs

fix negative fseek

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

8cd4ac3d 11/07/2007 11:56 PM Aurelien Jacobs

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

0c904db1 11/03/2007 02:57 PM Michael Niedermayer

typo

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

c6dcd0d7 11/03/2007 01:48 PM Michael Niedermayer

fix misdetection of mp3could_not_find_codec_parameters.mp3

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

2009c7fc 11/01/2007 06:02 PM Aurelien Jacobs

revert part of r10899 which was not intended

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

6177c7ef 11/01/2007 05:50 PM Aurelien Jacobs

remove useless initialization to 0 of adx context

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

4cd25081 08/05/2007 02:17 AM Michael Niedermayer

fix misdetection of out.ac3

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

3504467f 08/05/2007 02:15 AM Michael Niedermayer

//more debug info

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

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

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

c4f27438 06/21/2007 09:49 AM Baptiste Coudurier

remove now useless ifdef

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

2abe5a01 06/21/2007 09:39 AM Baptiste Coudurier

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

755bfeab 06/12/2007 09:29 AM Diego Biurrun

misc spelling fixes

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

7af636d4 04/30/2007 09:46 AM Wolfram Gloger

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

268fc082 04/30/2007 09:43 AM Wolfram Gloger

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

57004ff1 04/15/2007 01:51 PM Aurelien Jacobs

add an enum for need_parsing

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

87e87886 04/08/2007 11:34 AM Michael Niedermayer

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

8fa36ae0 02/13/2007 06:26 PM François Revol

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....

aad512b4 02/06/2007 07:14 PM Michael Niedermayer

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

80036204 01/17/2007 12:06 PM Michael Niedermayer

simplify

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

b90ba24b 01/17/2007 10:55 AM Michael Niedermayer

simplify pts/dts reading

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

75a9fbb9 01/17/2007 10:45 AM Michael Niedermayer

cosmetic

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

7e4709b1 01/17/2007 10:44 AM Michael Niedermayer

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...

e56cfad0 01/17/2007 10:19 AM Michael Niedermayer

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

949b1a13 11/01/2006 10:39 PM Steve L'Homme

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

7fbde343 10/23/2006 08:57 AM Aurelien Jacobs

replace coder/decoder file description in libavformat by muxer/demuxer

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

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

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

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

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

f5a478f6 09/21/2006 07:31 AM Roman Shaposhnik
  • Moving FifoBuffer out of libavformat/avformat.h and
    libavformat/utils.c into libavutil

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

c5e33115 08/29/2006 12:03 PM Allan Sandfeld Jensen

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 6124 to svn://svn.ffmpeg.org/ffmpeg/trunk

a1c69e0b 08/19/2006 08:39 AM Michael Niedermayer

fix probing of 02-Penguin.flac = a single startcode should not override extension based detection

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

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

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

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

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

83d07313 07/03/2006 09:40 PM Måns Rullgård

attempt to detect Chinese AVS video

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

25c533a2 06/29/2006 07:03 PM Måns Rullgård

detect audio-only program streams and broken files made by VDR

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

19e0e403 06/28/2006 09:40 PM Måns Rullgård

detect MPEG PES streams as MPEG PS; the PS demuxer will cope

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

d8bee8dd 06/19/2006 10:20 PM Måns Rullgård

allow packets with non-zero PES_scrambling_control

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

30a43f2d 03/01/2006 11:29 AM Michael Niedermayer

add size to AVIndex

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

0b2bb354 02/11/2006 09:27 AM Michael Niedermayer

mpeg-ps probe 2nd try

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

9870a7bd 02/08/2006 05:35 PM Michael Niedermayer

replace probe() by one similar to MPEG-ES

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

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

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

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

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

a9e35095 09/23/2005 12:25 AM Diego Biurrun

Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.

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

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

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

9ba73f1f 06/15/2005 08:50 PM Aurelien Jacobs

add support for muxing subtitles in mpeg-ps

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

a9c3213f 06/03/2005 02:01 PM Fabrice Bellard

DVD subtitle parsing - show mpeg component IDs by default

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

3f2bf07b 05/20/2005 01:10 PM Joakim Plate

fix ac3 and dts detection (patch by Joakim Plate <joakim.plate at ecce.se>)

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

e3d1cd8e 03/28/2005 05:33 PM Måns Rullgård

PSM support in MPEG-PS demuxer.
Based on a patch by Leon Woestenberg <leonw at mailcan dot com>

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

f3356e9c 03/17/2005 01:25 AM Michael Niedermayer

more fine grained discarding of packets

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

27a5fe5f 03/13/2005 12:13 AM Michael Niedermayer

keyframe & non keyframe index fixes

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

88730be6 02/24/2005 07:08 PM Måns Rullgård

kill warnings patch by (Måns Rullgård <mru inprovide com>)

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

7be806f3 02/09/2005 03:00 AM Chriss

-target dvd minimum vobu length patch by ("Chris" [chris garveycocker com])

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

b9866ebc 01/22/2005 01:36 PM Michael Niedermayer

support discarding uninterresting packets

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

2de7795a 12/29/2004 06:31 PM Michael Niedermayer

common.h -> common.h/bitstream.h

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

20b02bc6 12/05/2004 02:46 AM Chriss

This patch takes into account that fifo_realloc may adjust fifo.wptr
patch by ("Chris" chris at garveycocker dot com)

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

0d712409 12/01/2004 02:28 AM Michael Niedermayer

fifo_realloc()

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

7e0fda0a 11/23/2004 10:25 PM Chriss

DVDNav4 patch by ("Chris" <chris at garveycocker d0t com>)

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

cbb6e405 11/21/2004 03:37 AM Michael Niedermayer

parts of the dvd patch from ("Chris" <chris <at< garveycocker >dot< com> and Paul Curtis <pfc >at> terrapin <dot< com>)

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

17c88cb0 10/16/2004 09:27 PM Michael Niedermayer

user setable preload and max_mux_delay

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

6c55b27f 10/07/2004 01:55 AM Michael Niedermayer

do not randomize unknown timestamps

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

2db3c638 10/06/2004 10:29 PM Michael Niedermayer

user selectable packet_size and mux_rate

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

78a0efb4 10/03/2004 06:21 PM Paul Curtis

AVOutputFormat mpeg2dvd_mux and int is_dvd from the dvd patch by (Paul Curtis <pfc at terrapin dot com>)

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

e0c91bc2 10/03/2004 12:58 PM Michael Niedermayer

initial dts fix

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

2031ba1b 10/03/2004 12:17 PM Michael Niedermayer

remove wrong 33bit truncation of internal timestamps

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

bc3429e3 10/03/2004 11:16 AM Michael Niedermayer

pts/dts 100l fix

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

7e051558 10/03/2004 03:14 AM Michael Niedermayer

cleanup video buffer size

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

92050933 10/03/2004 02:57 AM Michael Niedermayer

cleanup

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

7000a175 10/03/2004 02:42 AM Michael Niedermayer

SCR timestamp fix try #1

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

d8b5abfa 10/01/2004 08:05 PM Michael Niedermayer

simplify put_padding_packet()

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

c40a3a42 10/01/2004 04:30 PM Michael Niedermayer

move free() of AVStream priv data to av_write_trailer()

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

95f97de1 10/01/2004 04:00 PM Michael Niedermayer

64bit and reading over the end of the array fixes

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

71c32f19 10/01/2004 01:16 PM Michael Niedermayer

do not call (av_)abort()

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

23c99253 07/14/2004 01:32 AM Michael Niedermayer

libdts support by (Benjamin Zores <ben at geexbox dot org>)

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

9be653d0 06/19/2004 02:51 PM Mike Melanson

cvs diff before cvs commit

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

0bd586c5 06/19/2004 03:59 AM Mike Melanson

sweeping change from -EIO -> AVERROR_IO

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

573ab01e 06/09/2004 12:38 AM Michael Niedermayer

ac3 bugfix, bug found by "Ben Cooley" <bcooley at dstreamtech dot com>

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

3c895fc0 05/29/2004 06:50 PM Michael Niedermayer

correctly interleave packets during encoding
dts/pts fixed for streamcopy
dont use coded_frame->key_frame hack in muxers, use AVPacket.flags instead

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

e928649b 05/29/2004 02:06 AM Michael Niedermayer

pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

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

9e9080b6 05/25/2004 11:06 PM Sidik Isani

dont add padding in the middle of the data patch by (Sidik Isani <isani at cfht dot hawaii dot edu>)

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

cdd5034f 05/23/2004 04:26 PM Michael Niedermayer

store index for seeking in the native timebase of each stream
set correct timebase for nut
merge mpeg-ts seeking with existing seeking code
10l fix in mpegts (27mhz vs. 90khz)

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