Michael Niedermayer
52069c4d3c
Move "slice below image" check from mpeg_decode_slice to its caller.
...
Should fix issue1277.
Originally committed as revision 20676 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
77ac76a30f
Print a warning if the duration is estimated from the bitrate, as this is
...
likely not accurate.
Originally committed as revision 20675 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
cea65433e0
decode qcelp in aiff, implement #1524 , patch by Vitor
...
Originally committed as revision 20674 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
0a04566120
Check Xfixes.h header presence before enabling x11grab.
...
This fixes compilation when lib is present but not header.
Originally committed as revision 20673 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d52b4abe8b
Move dummy picture allocation code from mpeg1/2 to mpegvideo.
...
This fixes a infinite loop on a b frame.
Originally committed as revision 20672 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fd1ef13bb4
Disable error resilience for field pictures, this was never supported,
...
results where more or less random but should not have crashed.
Originally committed as revision 20671 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
078cdecf9e
Set mb_y in mpeg2 field pictures like h264 does.
...
This fixes -vismv & -debug 16384 with field pictures.
Originally committed as revision 20670 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
22d4f21331
Make ""MPEG motion vector out of boundary" message more verbose.
...
Originally committed as revision 20669 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Attila Kinali
76c4a644ee
Fix an issue uncovered by commit 20623:
...
The init functions of mpc7 and mpc8 check whether the vlc has been
initialized already and return early if this is the case (eg by calling
init a second time).
But avctx->sample_fmt and channel_layout is set after the vlc initialization,
causing it not to be set on the second call of init.
Move all manipulations of avctx before the initialization of the vlc,
so that it is always set.
Originally committed as revision 20668 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ab8c48de8c
Start decoding from seq/gop too, not just I frames.
...
Possibly fixes issue1124.
Originally committed as revision 20667 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f0ec239438
Fix dual prime motion compensation in field pictures.
...
Fixes issue1125.
Originally committed as revision 20666 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Matthieu Castet
419bddd366
Include alsa headers before the internal FFmpeg headers.
...
This avoids symbol redefinitions problems, for example avoids the "free"
symbol to be redefined before system headers actually using it are
included, thus breaking compilation. In particular this change allows
to build FFmpeg with salsa.
Patch by matthieu castet <$surname.mat?hieu@free fr>.
Originally committed as revision 20665 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
992f8eaee7
Factorize common commandline options definition.
...
Originally committed as revision 20664 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
587edd6af8
Use more consistent / meaningful parameter names for the
...
ff_copy_bits() function.
Originally committed as revision 20663 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ivo van Poorten
244c8d100a
consistency with other files: av_cold static ---> static av_cold
...
Originally committed as revision 20662 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
1bd26e51f3
100l, max value for timescale is UINT16_MAX
...
Originally committed as revision 20661 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b37aa4de2d
Use the correct chroma values for the data[] array used in
...
draw_slice().
The chroma values to use are supposed to be those of the input format,
not that of the output format, the latter case was causing crashes and
chroma issues.
Originally committed as revision 20660 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8aeb33225a
Use a valid log context for av_log().
...
Originally committed as revision 20659 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b8cef7be5c
nellymoser: use constant seed for dithering RNG
...
Originally committed as revision 20658 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2d2e72b10e
cook: use constant seed for dithering RNG
...
Originally committed as revision 20657 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
aeaef4ed63
Print errors instead of just ignoring contradictionary values in mpeg2 silently.
...
Originally committed as revision 20656 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
bd2837387c
Document slice ordering assumption required by avfilter_draw_slice().
...
The assumption depends on the corresponding assumption done by
sws_scale() and by the scale filter.
Originally committed as revision 20655 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
87f6806069
Override a few values read so as to ensure that things are not inconsistent.
...
Originally committed as revision 20654 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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