Michael Niedermayer
d9b99556bf
Restructure dummy frame allocation.
...
New code also allocates a dummy frame for an p field after an i field,
previously that could segfault due to reading from NULL+x.
Originally committed as revision 20653 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
729ef3ba62
remove useless mov timescale field
...
Originally committed as revision 20652 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
74ccc66099
change track timescale to unsigned int, fix warning
...
Originally committed as revision 20651 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
7506e117db
track time can be 64bit
...
Originally committed as revision 20650 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
7c4b7d0f41
support pcm_f32/64le in mov
...
Originally committed as revision 20649 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
ba7c0ece61
cosmetics, reindent after last commit
...
Originally committed as revision 20648 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
feaa8d110d
support sample rates > INT16_MAX in mov using stsd v2
...
Originally committed as revision 20647 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
9d13016690
Make sure field_select is not set to nonsensical values even if unused.
...
Fixed an assert failure.
Originally committed as revision 20646 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
1c3260939d
Factorize "s->first_slice = 1" out.
...
Originally committed as revision 20645 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
88eba670fb
Also check the location of the picture start code and picture coding
...
extension a little.
Originally committed as revision 20644 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fc23d843e1
Check order of startcodes, ignore some obviously wrong ones.
...
Fixes issue487.
Originally committed as revision 20643 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
bbf266fdb5
Move mpeg_decode_postinit() out of bitstream decoding functions, it does not
...
belong in there.
Originally committed as revision 20642 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
1206f1d630
Inline mpeg_decode_extension, will simplify future changes.
...
Originally committed as revision 20641 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
191ad11e91
Simplify mpeg_decode_user_data()
...
Originally committed as revision 20640 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8d872e8ac9
Fix put_bits32() doxy.
...
Originally committed as revision 20639 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
643570d6bb
Consistently put braces for function definitions.
...
Originally committed as revision 20638 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
e74223610b
Fix typo, "Write" -> "Writes".
...
Originally committed as revision 20637 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
106c72faad
Use pixel formats names defined in av_pix_fmt_descriptors rather than
...
in those in pix_fmt_info, and remove the not anymore used
PixFmtInfo.name field.
Originally committed as revision 20636 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f72d40b01a
Remove unused PixFmtInfo.is_hwaccel field.
...
Originally committed as revision 20635 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
bc7eb330e3
Remove "frame size must be a multiple of 2" check.
...
This check only caught explicitly set sizes from the cmd line and overriding
the users wish seems silly, especially as it seems to work.
Originally committed as revision 20634 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f6dcc93705
Add nomouse option to not record the mouse cursor.
...
Implements issue877
Originally committed as revision 20633 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
a5a61fac3b
Remove unused stuff.
...
Originally committed as revision 20632 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Roxis
781c1aa6dc
Real cursor support in x11grab.
...
Patch by Roxis /// roxis list dot ru
Slight changes by me to update the patch to current svn.
Originally committed as revision 20631 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d3298350bb
Do not invent error codes but pass the error code on.
...
Originally committed as revision 20630 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fed0c2fb71
Replace very odd and completely broken oss read_packet() by the obvious way to
...
read.
Fixes issue348.
Originally committed as revision 20629 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
6866dd1237
Fix typo.
...
Originally committed as revision 20628 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
a7c6e76638
Add support for hardcoding the motionpixels rgb to yuv table.
...
Originally committed as revision 20627 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
7c7d3abf3c
10l, pix_fmt should be set by the motionpixels decoder, not by the demuxer.
...
This fixes playback when lavf and lavc are less tightly couples as in e.g. MPlayer.
Originally committed as revision 20626 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
a9af75ae85
Make sws_format_name() use av_pix_fmt_descriptors.
...
This also introduces a dependency of libswscale on libavutil.
Originally committed as revision 29968 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
797229a6a2
Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
...
pix_fmt_info.
Originally committed as revision 20625 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
382cb1154c
Make av_pix_fmt_descriptors use the same pixel format names as defined
...
in libavcodec/imgconvert.c.
Avoid to break compatility when making the functions dealing with
pixel format names in imgconvert.c use the names defined in pixdescs.
Originally committed as revision 20624 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
0bf095a837
Allow decoders to correctly set the sample format by defaulting to
...
SAMPLE_FMT_NONE in avcodec_get_context_defaults2.
Originally committed as revision 20623 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
14b903f389
Remove x_chroma_shift and y_chroma_shift fields from PixFmtInfo, use
...
av_pix_fmt_descriptors log2_chroma_w and log2_chroma_h values instead.
Originally committed as revision 20622 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
8683f94f40
Update libavformat regression reference checksum for ffm. This change is
...
due to r20601.
Originally committed as revision 20621 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
4f898e77fb
Revert "Add required header #include to fix 'make checkheaders'."
...
config.h must not be included in that file. The table generator runs
on the host system, but config.h describes the target.
Originally committed as revision 20620 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e137934fae
cosmetics: K&R style, prettyprinting
...
Originally committed as revision 20619 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
c73ce8e259
Mark apply_mdct() function as static; it is only used within the file.
...
Originally committed as revision 20618 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
38264abb06
Use av_pix_fmt_descriptors in avcodec_get_chroma_sub_sample(), rather
...
than the PixFmtInfo x_chroma_shift and y_chroma_shift fields.
Originally committed as revision 20617 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8e861e1b1e
Use av_pix_fmt_descriptors in ff_is_hwaccel_pix_fmt() rather than
...
access the PixFmtInfo.is_hwaccel field which is going to be removed.
Originally committed as revision 20616 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
9ff261a2b2
Remove special case that changed video sync behavior for av_q2d(enc->time_base) <= 0.001.
...
This should make the default behave more like one would expect and not
change behavior at 1000fps.
Originally committed as revision 20615 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
7cab9a6674
Add an entry for the AVFilter.next field removal.
...
Originally committed as revision 20614 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ff09a99ef5
-DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho.
...
Originally committed as revision 20613 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
154f5b5c9b
Add required header #include to fix 'make checkheaders'.
...
Originally committed as revision 20612 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
4cc3f6afe4
Remove AVFilter.next field, since it is not used and it is not going
...
to be used since the implementation of the new filter registration
system.
Originally committed as revision 20611 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
f2526204a4
Fix nv12/nv21 handling. linesize for plane 1 should account for both chroma
...
planes instead of just doubling the height while computing plane sizes. Also
adjust avpicture_layout() to copy the correct amount of data for plane 1.
Originally committed as revision 20610 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
800841fd0c
Support compiling against libtheora older than 1.1
...
Originally committed as revision 20609 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b5a683eb11
Add an entry for the avfilter_next() function addition.
...
Originally committed as revision 20608 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1433c4abf2
Implement avfilter_next().
...
Originally committed as revision 20607 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
73e2247d32
Add an entry for the avfilter_register() signature change.
...
Originally committed as revision 20606 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
86a60fa1ac
Implement a new registration system for filters.
...
Create a new static array containing pointers to the AVFilter
definitions, so that the non-constant next filter in the AVFilter
struct is not anymore required and the AVFilter definitions may be
stored in shareable memory.
Also change the signature for avfilter_register(), make it return an
int since it may fail if there is not enough space in the static array
for the registered filters.
Originally committed as revision 20605 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago