Reimar Döffinger
645e75992d
Fix GSM decoding: regular GSM and MSGSM do not use the same
...
bitstream endianness, so they cannot reuse the same code
without a lot of function call overhead.
Thus use templating to compile two different binaries.
Originally committed as revision 25312 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
1405782cf4
Avoid cast of double nan to int.
...
It may cause exceptions on some platform.
Originally committed as revision 25311 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
8bf256bcc0
Document url_get_filename().
...
Originally committed as revision 25310 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
a5c33faacc
Add init and uninit functions to cmdutils, reduces code duplication
...
between ffmpeg and ffplay and avoids a valgrind error by freeing
avformat_opts->key.
Originally committed as revision 25309 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
05931ab763
Make FRAPS decoder use PC range instead of TV range
...
FRAPS appears to output PC range streams. I can't guarantee this is true of
all versions.
Originally committed as revision 25308 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
35e33b9aac
10l fix h263 encoder resolution test, array size is 8 not 7
...
Originally committed as revision 25305 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
84fd51e5ad
ffmpeg: replace MAX_STREAMS by an arbitrary sanity check
...
Originally committed as revision 25304 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
620a67d56a
ffmpeg: dynamically allocate bitstream_filters
...
Originally committed as revision 25303 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
3a8e882419
ffmpeg: dynamically allocate stream_maps
...
Originally committed as revision 25302 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
0a6d97b371
ffmpeg: dynamically allocate output_codecs
...
Originally committed as revision 25301 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
311e223f28
ffmpeg: dynamically allocate input_codecs
...
Originally committed as revision 25300 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
2c6958aabd
ffmpeg: dynamically allocate input_files_ts_scale
...
Originally committed as revision 25299 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
e640f26177
ffmpeg: dynamically allocate streamid_map
...
Originally committed as revision 25298 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
dba249abee
ffmpeg: add a grow_array() helper function
...
Originally committed as revision 25297 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
333771210e
Fix reference to nonexistent function.
...
Originally committed as revision 25296 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
321259c1ab
rtsp: Return a queued packet if it has been in the queue for longer than max_delay
...
Originally committed as revision 25295 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
58ee09911e
rtpdec: Reorder received RTP packets according to the seq number
...
Reordering is enabled only when receiving over UDP.
Originally committed as revision 25294 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
0260741876
rtpdec: Split out the part of rtp_parse_packet that does the parsing of new packets
...
Originally committed as revision 25293 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
27af8902c4
Fix indentation of ff_id3v2_read
...
Originally committed as revision 25292 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
c690fa97e5
Reindent/rewrap
...
Originally committed as revision 25291 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
38f8c80b62
rtsp: Reorganize if statements in rtsp_read_play
...
Originally committed as revision 25290 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
ad4ad27fb6
rtsp/rtpdec: Allow rtp_parse_packet to take ownership of the packet buffer
...
Do the same change for ff_rdt_parse_packet, too, to keep the interfaces
similar.
Originally committed as revision 25289 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
96a7c9753e
rtsp: Use a dynamically allocated receive buffer
...
Originally committed as revision 25288 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
6705dd5f98
Fix weird indent.
...
Originally committed as revision 25287 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
0795b86174
avassert: add missing #include <stdlib.h>
...
Originally committed as revision 25286 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
f23ceeb84d
avassert: prettify macro
...
Originally committed as revision 25285 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
b64b4134d5
Rename libavutil/assert.h to avassert.h
...
This avoids conflicts with the system assert.h.
Originally committed as revision 25284 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
8a47d90b29
Fix av_cmp_q() with negative denominators.
...
Originally committed as revision 25283 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tomas Härdin
0f4cd732f1
Add myself as maintainer of lxfdec.c
...
Originally committed as revision 25282 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tomas Härdin
8878e3b21b
Add demuxer for LXF (Leitch/Harris' VR native stream format)
...
Originally committed as revision 25281 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tomas Härdin
fbeabfca2f
Add pcm_lxf, a decoder for the 20-bit planar PCM format used in LXF
...
Originally committed as revision 25280 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
c619572a7b
Fix a typo in the nameing of av_assert0() in currently not compiled code.
...
Originally committed as revision 25279 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
b926b6282d
av_assert() system.
...
With this the developer can now choose if he wants an assert always enabled or at which
compile time assert level. This can thus replace the #define NDEBUG hacks
Originally committed as revision 25278 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
59b4e5ba49
add FF_API_INOFFICIAL define to disable the deprecated 'inofficial' flag
...
Originally committed as revision 25277 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
838dc131f1
add FF_API_SET_STRING_OLD define to disable the deprecated av_set_string API
...
Originally committed as revision 25276 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
0743de4ffd
add FF_API_USE_LPC define to disable the deprecated AVCodecContext.use_lpc field
...
Originally committed as revision 25275 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
ab3efd0077
Return AVERROR(EINVAL) rather than -1 in case of invalid values.
...
Originally committed as revision 25274 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
448ce9258c
add FF_API_SUBTITLE_OLD define to disable the deprecated decode_subtitle API
...
Originally committed as revision 25273 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
164bc38c26
add FF_API_VIDEO_OLD define to disable the deprecated decode_video API
...
Originally committed as revision 25272 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
d8e456400e
Correct tag is m2v1
...
Originally committed as revision 25271 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
a377cfa6c2
add FF_API_AUDIO_OLD define to disable the deprecated decode_audio API
...
Originally committed as revision 25270 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Niobos
e2f0214a0b
Fix a yuv420p sample that was incorrectly detected as yuv411p
...
(576i50 25Mbps 4:1:1 special case was wrong).
Fixes issue2211
Patch by Niobos, niobos dest-unreach be
Originally committed as revision 25269 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
f3f5eb6e70
Document url_filesize().
...
Originally committed as revision 25268 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
0a216bd1dd
Make register_protocol() use the function av_register_protocol2()
...
rather than av_register_protocol(), which is deprecated.
Fix the GCC warning:
avio.c: In function ‘register_protocol’:
avio.c:93: warning: ‘av_register_protocol’ is deprecated (declared at avio.c:86)
Originally committed as revision 25267 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
0093ebc20a
User application side of Codec specific parameters.
...
Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
f34fcdc8b6
Set default values for the scale context in sws_alloc_context().
...
Originally committed as revision 32415 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
e60c906a82
Set the default value of param0 and param1 to SWS_PARAM_DEFAULT.
...
Originally committed as revision 32414 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
6d21d67b38
Set valid default values for the srcw, srch, dstw, dsth options in the
...
scale context. Prevent pointless warnings when using
av_opt_set_defaults() for setting the default values, as in a pending
patch.
Originally committed as revision 32413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
14 years ago
Stefano Sabatini
584b8edb99
Add missing case for FF_OPT_TYPE_DOUBLE in av_opt_set_defaults2().
...
Originally committed as revision 25265 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
826481ea91
Remove duplicate entries
...
Originally committed as revision 25264 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago