Statistics
| Branch: | Revision:

ffmpeg / libavformat / nut.c @ 4dcde00c

History | View | Annotate | Download (5.87 KB)

# Date Author Comment
2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

d588e3f5 06/06/2010 06:29 PM Stefano Sabatini

Add support to B4BY and R4BY NUT codec tags added in NUT r672.

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

63455b8c 06/06/2010 11:43 AM Michael Niedermayer

bgr/rgb444 for nut

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

ab8f6009 05/26/2010 10:26 PM Stefano Sabatini

Add support for the newly added Nut codec tags (added in Nut r669):
Y100[16], [16][00]1Y, Y311[16], [16][11]3Y, Y310[16],
[16][10]3Y, Y300[16], [16][00]3Y, Y411[ 8], Y200[ 8].

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

2e01def0 05/23/2010 06:34 PM Stefano Sabatini

Define ff_nut_video_tags and make Nut muxer and demuxer set it in
codec_tag.

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

80b39e1c 05/22/2010 04:01 PM Francesco Lavra

Move AVCodecTag from riff.h into internal.h.

Patch by Francesco Lavra, francescolavra interfree it

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

f990f6e3 03/28/2010 09:59 AM Vitor Sessak

Fix NUT (de)muxer warnings:
CC libavformat/nutdec.o
libavformat/nutdec.c: In function ‘read_seek’:
libavformat/nutdec.c:862: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int ()(void *, const void *)’ but argument is of type ‘int ()(struct Syncpoint *, struct Syncpoint *)’...

59856b98 03/24/2010 07:58 PM Vitor Sessak

Fix warning:
libavformat/nut.c: In function ‘ff_nut_free_sp’:
libavformat/nut.c:80: warning: passing argument 4 of ‘av_tree_enumerate’ from incompatible pointer type
./libavutil/tree.h:92: note: expected ‘int ()(void *, void *)’ but argument is of type ‘void ()(void *, void *)’...

4b83fc0f 03/03/2010 05:31 PM Vitor Sessak

Plug memory leak in NUT muxer and demuxer

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

43382b5f 02/24/2010 06:27 AM Anton Khirnov

Introduce metadata conversion table for NUT muxer and demuxer.
Patch by Anton Khirnov (wyskas, do no evil mail)
Thread "[PATCH] nut metadata conversion table"

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

52afa376 12/11/2008 07:06 PM Michael Niedermayer

remove _t for POSIX compatibility.

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

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

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

90c2295b 03/07/2008 07:25 PM Evgeniy Stepanov

Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut.

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

1326621c 03/05/2008 01:06 PM Michael Niedermayer

Subtitle support. (untested)

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

103d74ea 02/04/2008 10:27 AM Oded Shimon

ff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
gave it 'ts'. Fixed by changing ff_nut_reset_ts() and demuxer params

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

6e8b982b 01/04/2008 05:52 PM Michael Niedermayer

Move *malloc() out of tree.c, that way the code can be used with
flat arrays which have lower overhead than millions of mallocd() elements.

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

47a1ae1b 11/04/2007 10:51 PM Diego Biurrun

Add some parentheses to clarify operator precedence, fixes the warnings:
nut.c: In function 'ff_nut_sp_pos_cmp':
nut.c:43: warning: suggest parentheses around + or - inside shift
nut.c:43: warning: suggest parentheses around + or - inside shift
nut.c: In function 'ff_nut_sp_pts_cmp':...

992e78f5 10/30/2007 12:01 AM Baptiste Coudurier

rename av_crc04C11DB7_update to ff_crc04C11DB7_update and move it to aviobuf.c so it can be reused by other (de)muxers

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

e5639780 08/11/2007 11:58 PM Carl Eugen Hoyos

Ensure av_tree_insert() is defined before using it.
Patch by Carl Eugen Hoyos cehoyos at ag.or.at

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

4a3b5fe1 08/09/2007 11:24 PM Michael Niedermayer

move syncpoint cache related stuff to common file

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

f13ea4e0 08/09/2007 06:37 PM Michael Niedermayer

move lsb2full to common file

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

5c2198b1 08/09/2007 04:46 PM Michael Niedermayer

move crc wrapper to slightly better spot

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

874abace 08/09/2007 04:29 PM Michael Niedermayer

move syncpoint timestamp resetting code to a common file

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

44f46a69 08/09/2007 04:15 PM Michael Niedermayer

remove old unused nut (de)muxer

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

769e10f0 07/19/2007 03:21 PM Panagiotis Issaris

Replace all occurrences of AVERROR_NOMEM with AVERROR.

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

a7738a04 07/05/2007 09:06 AM Diego Biurrun

URL update, move comment to a better place.

Originally committed as revision 9476 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

6ebe07fb 01/07/2007 12:02 AM Diego Biurrun

variable renaming: mp3lame --> libmp3lame

Originally committed as revision 7417 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

3d1eed61 10/18/2006 01:15 PM Diego Biurrun

Fix license header error notice by Steve LHomme.

Originally committed as revision 6730 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

0e176c3e 09/02/2006 11:10 PM Måns Rullgård

remove redundant declarations

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

ccb15994 07/20/2006 10:22 AM Michael Niedermayer

fix regression failure after adler simplification

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

b9a73d8d 07/13/2006 09:29 PM Måns Rullgård

move adler32 to libavutil

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

9d9f4119 07/12/2006 12:09 AM Måns Rullgård

move common stuff from avienc.c and wav.c to new file riff.c

Originally committed as revision 5720 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

ea138e97 06/20/2006 10:19 PM Stefan Huehner

Remove unused variable, patch by Stefan Huehner stefan__at__huehner__dot__org.

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

a5e9102b 06/16/2006 07:54 AM Måns Rullgård

free codec extradata in av_close_input_file

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

9d4461b9 04/23/2006 01:47 PM Oded Shimon

Disable lavf NUT until it is synced to spec

Originally committed as revision 5312 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

6d276a9e 01/19/2006 10:30 PM Gildas Bazin

Properly #ifdef muxer-specific parts.
Taken from a patch by Gildas Bazin < gbazin -- @@ -- altern -- . -- org >

Originally committed as revision 4869 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

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 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

4733abcb 12/12/2005 01:56 AM Måns Rullgård

use PRIxN, %zd, %td formats where needed

Originally committed as revision 4740 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

a26e1d4c 09/11/2005 08:32 AM Michael Niedermayer

checksum doesnt cover the forward_ptr anymore

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

177e5460 09/11/2005 08:28 AM Michael Niedermayer

forward_ptr doesnt contain its own length anymore

Originally committed as revision 4578 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

16423e17 06/27/2005 12:24 AM Michael Niedermayer

nut prefers extradata style global headers

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

fc565b22 06/07/2005 09:21 PM Alex Beregszaszi

some nut.hu hype

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

01bd1ed2 06/03/2005 08:54 AM Michael Niedermayer

fix stream class
fix a infinite loop on corrupted streams

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

2692067a 05/26/2005 08:17 PM Michael Niedermayer

AVPacket.pos

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

c0df9d75 04/30/2005 09:43 PM Michael Niedermayer

switch to native time bases

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

160d679c 04/24/2005 05:21 PM Mike Melanson

Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")

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

8bb8f413 03/17/2005 09:38 PM Michael Niedermayer

initalize has_b_frames

Originally committed as revision 4054 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

7071e567 03/13/2005 01:58 AM Luca Barbato

"put_s should store signed values. Spotted on #mplayerdev by someone I
don't remember." patch by (Luca Barbato [lu_zero gentoo org)

Originally committed as revision 4035 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

5c5dea3f 02/24/2005 03:18 PM Nilesh Bansal

01-makefile_fix_updated.patch
Adds --enable-theora/--enable-vorbis/--enable-ogg to configure
If compiled WITHOUT --enable-theora, native VP3 decoder is used
patch by (Nilesh Bansal <nileshbansal gmail com>)

Originally committed as revision 3975 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

568e18b1 01/08/2005 02:21 PM Michael Niedermayer

integer overflows, heap corruption
possible arbitrary code execution cannot be ruled out in some cases
precautionary checks

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

3129cd01 11/13/2004 01:27 AM Michael Niedermayer

allocate a few bytes more for extradata so the bitstream reader if its used by the codec for parsing extardata, doesnt read over the end

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

3ba1438d 10/10/2004 10:05 PM Michael Niedermayer

use native timebase for seeking
direction flag for seeking

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

ca6ecf50 06/14/2004 09:30 PM Michael Niedermayer

file id string
max short startcode distance

Originally committed as revision 3223 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

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

9ee91c2f 05/21/2004 08:43 PM Michael Niedermayer

move time_base (pts_num/pts_den) from AVFormatContext -> AVStream

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

84ad6130 05/20/2004 04:00 PM Michael Niedermayer

bytestream tracing support
sync points
removing timestamp lru prediction
extendible frame_code / frame_code table

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

0b43db14 05/02/2004 01:03 AM Michael Niedermayer

match latest spec
seeking to startcode-less frames

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

31179d85 04/12/2004 10:23 PM Michael Niedermayer

store correct pts

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

75553f82 04/12/2004 08:06 PM Michael Niedermayer

bit-exact

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

8d14a25c 04/12/2004 04:50 PM Michael Niedermayer

moving nearly identical binary search code from nut/mpeg/asf to utils.c

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

ee76016c 04/10/2004 08:11 PM Michael Niedermayer

set codec_tag

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

aec8f88a 04/09/2004 04:46 PM Michael Niedermayer

removing keyframe prediction and checksum threshold

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

1c24c51d 04/09/2004 12:31 PM Steven M. Schultz

gcc 2.95.3 patch by ("Steven M. Schultz" <sms at 2bsd dot com>)

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

7dddf251 04/08/2004 12:22 AM Michael Niedermayer

fourcc & language code v->vb type
some minor cleanups
some bugfixes
seeking to type 1 and 2 frames (no index needed)
timestamp/position cache so seeking without an index is fast

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

465e1dad 04/06/2004 05:40 PM Michael Niedermayer

10l (bytes_left() -> url_feof())
10l (updating LRU delta pts for type 1/2 frames)
ensure that checksumming isnt enabled if its not needed
search for next startcode and then search backward to the next valid frame if an inconsistancy is detected
deal with non-frame startcodes in the middle of the stream...

7c5934ed 04/05/2004 10:00 PM Michael Niedermayer

search for undamaged headers

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

ee9f36a8 04/05/2004 12:02 PM Michael Niedermayer

checksuming for nut & nice checksum API for libavformat

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

5a757507 04/05/2004 10:38 AM Michael Niedermayer

10l (Titel->Title)

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

e52788d0 04/04/2004 10:34 PM Michael Niedermayer

info packet read/write & simplify

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

ae3fa4ea 04/04/2004 08:24 PM Michael Niedermayer

make vorbis default again

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

a1d4d70c 04/04/2004 06:37 PM Michael Niedermayer

large extradata fix
use 3 pts predictors for vorbis, slightly more efficient

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

a5247e3d 04/03/2004 09:00 PM Michael Niedermayer

nut (de)muxer update
conform to latest spec
remove get/put_s() not needed anymore
update_packetheader() fixed (wasnt always working)
store/load extradata & aspect ratio
memleak fix
dont use vorbis by default yet
use frame_size from the codec instead of hardcoding it in the source...

bc874dae 03/03/2004 03:41 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

f0a93eb0 12/08/2003 05:54 PM Alex Beregszaszi

msb pts support

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

4b684105 10/15/2003 03:21 PM Alex Beregszaszi

10l

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

764ef400 10/14/2003 04:15 AM Mike Melanson

disable encoders where appropriate (patch courtesy of BERO
<bero at geocities.co.jp>)

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

e692fd60 10/02/2003 10:41 PM Alex Beregszaszi

fixed codec specific data headers

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

cf246283 10/02/2003 10:33 PM Alex Beregszaszi

fixed time base and sample rate handling

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

5aa0a644 10/02/2003 02:59 PM Alex Beregszaszi

fix fabrice's broken get_bi and some minor changes in draft

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

49057904 09/10/2003 10:37 PM Fabrice Bellard

64 bit pts for writing - more const usage

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

8c653280 09/10/2003 01:00 PM Michael Niedermayer

get_bi(), be/le fix

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

80783dc2 09/08/2003 10:04 PM Fabrice Bellard

CODEC_ID_MP3LAME is obsolete

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

a182f5da 09/08/2003 08:00 PM Fabrice Bellard

fixed endianness dependancies (untested)

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

ed0bb7be 09/07/2003 12:37 AM Alex Beregszaszi

move packetheader after startcodes

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

99b17f25 09/06/2003 11:17 PM Alex Beregszaszi

some fixes

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

203504d9 09/06/2003 04:29 PM Michael Niedermayer

padding fix

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