Martin Storsjö
3370289a4c
Zero-initialize the reply struct
...
The status_code field is read in the fail codepath, where it could be
read uninitialized earlier. Found by clang.
Originally committed as revision 22801 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
5b33a55376
Implement support to the AVSEEK_SIZE operation in file_seek().
...
Avoid the need to use seeking for getting the file size, use fstat
instead, which is significantly faster.
See thread:
Subject: [FFmpeg-devel] [PATCH] Add support to AVSEEK_SIZE to the file protocol seek callback
Date: Fri, 2 Apr 2010 13:13:27 +0200
Originally committed as revision 22799 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
37f57ab4dd
Allow AVFormatContext.duration to be set if no individual stream duration is known.
...
Demuxers already do this ...
Originally committed as revision 22796 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2874c81cc8
Replace all remaining occurrences of AVERROR_NOMEM with
...
AVERROR(ENOMEM).
AVERROR_NOMEM is deprecated and will be dropped at the next libavutil
major bump.
Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
0e64218889
Remove a redundant assignment, found by clang
...
Originally committed as revision 22790 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
ff273ddae7
Fix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminating
...
zero, so should be 17 bytes, not 9.
Originally committed as revision 22786 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sam Gerstein
f3c68c5b45
ETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.
...
Originally committed as revision 22785 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
7b374c9ff2
Another uninitialized value.
...
See http://tranquillity.ath.cx/clang/2010-03-30-1/report-e6KUTb.html#EndPath
Originally committed as revision 22783 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
190413cf81
Fix uninitialized value in codepath.
...
See http://tranquillity.ath.cx/clang/2010-03-30-1/report-40QvF3.html#EndPath
Originally committed as revision 22782 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
ddf8e75ede
Remove dead initialization.
...
Originally committed as revision 22781 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
0b9535b9a2
Remove dead initialization.
...
Originally committed as revision 22780 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
4bebf2cf64
Change a case of CODEC_TYPE_ into AVMEDIA_TYPE_
...
This was accidentally overwritten in the recent merge of the theora/vorbis codepaths
Originally committed as revision 22774 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
339f5f3957
Merge Vorbis / Theora depayloaders.
...
Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.
Originally committed as revision 22768 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
cb92a9c038
Reindent after r22766.
...
Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.
Originally committed as revision 22767 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
96070b8b5c
Rename functions / comments from "Theora" to "Xiph" where relevant.
...
Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.
Originally committed as revision 22766 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
06a36faf4c
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
...
the Vorbis / theora depacketizers.
Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.
Originally committed as revision 22765 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ccf8c2944c
Limit probing to probesize.
...
Originally committed as revision 22758 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Howard Chu
527c2e6429
Fix flvdec start-of-frame.
...
Patch by Howard Chu hyc highlandsun com
Originally committed as revision 22757 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1a70d12727
Make av_match_ext() declaration public (move its declaration out of
...
the #ifdef HAVE_AV_CONFIG_H block in avformat.h).
Originally committed as revision 22748 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fe8344a276
Add AVFMT_FLAG_NOFILLIN and AVFMT_FLAG_NOPARSE.
...
Originally committed as revision 22745 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
Joakim Plate
46da7fa133
Probe aac codecs for CODEC_ID_PROBE.
...
Patch by Joakim Plate, elupus ecce se
Originally committed as revision 22742 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
8166c498df
Remove superfluous space from a conversion table.
...
Patch by Anton Khirnov, wyskas gmail
Originally committed as revision 22741 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
Stefano Sabatini
8a36b59ba6
Document url_exist().
...
Originally committed as revision 22725 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Mohamed Naufal
148bcae98c
Implement YOP demuxer and video decoder.
...
Patch by Mohamed Naufal gmailify(naufal11).
Originally committed as revision 22724 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c2bfd81605
Some spelling fixes.
...
Originally committed as revision 22720 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sam Gerstein
9cba6f5f40
Add a timeout to the select() call. Patch by Sam Gerstein <sgerstein bluefinlab
...
com>.
Originally committed as revision 22718 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Howard Chu
0f943ce663
Implement support to RTMP, RTMPT, RTMPE, RTMPTE, RTMPS protocols via
...
librtmp.
Patch by Howard Chu <hyc * highlandsun * com>.
Originally committed as revision 22710 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9bee245954
Document url_seek().
...
Originally committed as revision 22709 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
Martin Storsjö
4c1202f76e
Initialize ssrc and base_timestamp using ff_random_get_seed()
...
Originally committed as revision 22706 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
9b1db5ec99
correct first pts for ogg skeleton
...
Originally committed as revision 22705 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
66b6c7458e
Document the behavior of av_metadata_get() if the prev parameter is
...
NULL.
Originally committed as revision 22704 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
d14f5391c1
Use more appropriate return values in txd demuxer.
...
Originally committed as revision 22703 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
36031c2033
eacdata: fix a memleak, return partial packets and use proper return values.
...
Originally committed as revision 22702 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
cae9a15c98
Don't report EINTR from select as an error, retry select instead
...
Originally committed as revision 22694 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Micah F. Galizia
532aa889eb
Fix updating condition for the probe_size variable in the internal
...
loop of ff_probe_input_buffer(), making sure that probe_size is always
set to probe_max_size in the last iteration.
Also make the function return an error if we get to the max probe
length and still cannot figure out what the format is.
Patch by Micah Galizia micahgalizia A gmail D com.
Originally committed as revision 22688 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
4bc5cc2313
Reassemble the RTSP URL before replacing hostname with the numerical IP
...
Originally committed as revision 22681 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
7b4a36450b
Simplify ff_rtsp_send_cmd_with_content_async, remove an unnecessary buffer
...
Originally committed as revision 22680 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
60f198a774
Remove a redundant null pointer check
...
Originally committed as revision 22679 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
30af077942
Don't force basic auth in RTSP, but retry with the server-specified method on failure
...
Originally committed as revision 22678 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
2626308abb
Actually parse the auth headers in RTSP
...
Originally committed as revision 22677 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
aa8bf2fb80
Make RTSP use the generic http authentication code
...
Still hardcoded to use Basic auth, without parsing the reply headers
Originally committed as revision 22676 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
b17d11c632
Add separate method/url parameters to the rtsp_send_cmd functions
...
Originally committed as revision 22675 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
e9fea405a7
Reindent
...
Originally committed as revision 22672 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
4896dd57fa
Matroska muxer : Don't create audio tracks for unsupported audio codecs.
...
Originally committed as revision 22669 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
855e7732c6
Add support for http digest authentication
...
Originally committed as revision 22667 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
d8f9295753
Reindent
...
Originally committed as revision 22666 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago