Stefano Sabatini
0d3ee13551
Use AVERROR_INVALIDDATA rather than -1 for nutdec error codes.
...
Originally committed as revision 26321 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
c55f891c2f
nutdec: when parsing info packet, set metadata var only once
...
Originally committed as revision 25558 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Anton Khirnov
03700d399b
Export metadata in the generic format. Deprecate old conversion API.
...
patch by Anton Khirnov anton _at_ khirnov _dot_ net
Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
54036be11a
rename LAVF_API_* defines to FF_API_* to clarify that it is not public API
...
Originally committed as revision 24825 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
072e3efd1b
add LAVF_API_MAX_STREAMS define to disable the deprecated MAX_STREAMS API
...
Originally committed as revision 24817 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
3c0eec06d8
get rid of MAX_STREAMS limit in nutdec
...
Originally committed as revision 24755 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e6b22522c9
bswap: change ME to NE in macro names
...
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Eli Friedman
a07a06b033
Fix warning "passing argument from incompatible pointer type".
...
Patch by Eli Friedman, eli d friedman a gmail
Originally committed as revision 24020 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
49837b8d24
Make the nut decoder read the ff_nut_video_tags to detect codec id of
...
the input file.
This is required as Nut codec tags are not contained in
ff_codec_bmp_tags.
Originally committed as revision 23260 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2e01def0fe
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
15 years ago
Stefano Sabatini
8e89cd1fee
Make the nut demuxer issue a more meaningful error message if it
...
cannot recognize the provided codec tag.
Originally committed as revision 23071 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2ef6c1242a
Mark av_metadata_set() as deprecated, and use av_metadata_set2()
...
in its place.
av_metadata_set() is going to be dropped at the next major bump.
Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jean-Daniel Dupas
cc947f04cc
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
...
Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
32e543f866
Replace @returns by @return .
...
Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
f990f6e3f7
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 *)’
libavformat/nutdec.c:871: 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 *)’
libavformat/nutdec.c:879: 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 *)’
CC libavformat/nutenc.o
libavformat/nutenc.c: In function ‘write_packet’:
libavformat/nutenc.c:680: 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 *)’
Originally committed as revision 22707 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
3bfb30b9e3
Fix warnings in NUT demuxer:
...
libavformat/nutdec.c: In function ‘read_seek’:
libavformat/nutdec.c:862: warning: passing argument 4 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘void **’ but argument is of type ‘struct Syncpoint **’
libavformat/nutdec.c:871: warning: passing argument 4 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘void **’ but argument is of type ‘struct Syncpoint **’
Originally committed as revision 22662 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
4b83fc0fe4
Plug memory leak in NUT muxer and demuxer
...
Originally committed as revision 22174 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
8a4d067dfc
Revert r22119 and partially revert 22120.
...
Originally committed as revision 22135 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
e1c0b00b06
nutdec: make chapter start and length uint64_t to prevent overflows.
...
Patch by Anton Khirnov wyskas chez gmail punto com
Originally committed as revision 22127 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
27dbc47c05
Plug some memory leaks in NUT muxer and demuxer
...
Originally committed as revision 22120 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
43382b5f13
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
15 years ago
Daniel Verkamp
1a40491ef2
Add ff_ prefixes to exported symbols in libavformat/riff.h.
...
patch by Daniel Verkamp, aniel drv nu
Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
00798e4563
use new metadata API in nut demuxer
...
Originally committed as revision 17652 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
9ce6c13879
export gcd function as av_gcd()
...
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6a5d31ac25
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
...
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
52afa376b8
remove _t for POSIX compatibility.
...
Originally committed as revision 16057 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
5972945197
convert every muxer/demuxer to write/read sample_aspect_ratio from/to
...
the corresponding AVStream instead of AVCodecContext
Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
Michael Niedermayer
c2a3dcaf25
Fix memleak, fixed CID123.
...
Originally committed as revision 13472 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
abd2256dbe
Pass time_base as argument to new_chapter() as well.
...
This fixes the wrong timebase the matroska demuxer had after my previous commits.
Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ?
Originally committed as revision 13266 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
883fe4d5bb
Chapter demuxing support. (untested as I have no nuts with chapters)
...
Isn't that much simpler than Matroska?
Originally committed as revision 13263 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Pettenò
d6f142a1f8
Fix 'comparison always false' warning.
...
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com
Originally committed as revision 13056 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
bd10713636
typo fixes
...
Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
2cab640129
typo fixes
...
Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
90c2295b24
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
17 years ago
Michael Niedermayer
1326621c1a
Subtitle support. (untested)
...
Originally committed as revision 12330 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9fdfd21c77
factorize
...
Originally committed as revision 12293 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a048febdc4
subtitles (codec tag tables still missing ...)
...
Originally committed as revision 12292 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3b4f69ae8c
Elision header demuxing support.
...
Originally committed as revision 11935 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7eeebcc5de
Read match time delta in the frame header.
...
We do not do anything with it as lavf does not really support it yet.
Originally committed as revision 11931 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6cb4b28fea
Read match_time_delta in the framecode table.
...
Originally committed as revision 11930 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5e53486545
typo fix: inited --> initialized
...
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
eae213af43
Remove old workaround in nutdec.c for libnut bug
...
Originally committed as revision 11853 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
b19e3983cf
missing " && j<syncpoint_count" protection in the index parsing, as the
...
spec instructs...
Originally committed as revision 11852 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
103d74ea5c
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
17 years ago
Michael Niedermayer
0fca8bc835
Fix info packet type, found by oded as well as the new pedantic const
...
warnings.
Originally committed as revision 11843 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago