Anton Khirnov
19711af5cd
lavf: move internal functions from avformat.h to internal.h
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Reimar Döffinger
b3190529df
Make av_set_pts_info keep previous time base if new one is invalid.
...
Fixes issue 2475.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Reimar Döffinger
a351110eea
Always use av_set_pts_info to set the stream time base.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Sascha Sommer
ed19fafd48
pass QDMC extradata to the decoder
...
Makes playing QDMC files in MPlayer work when using the libavformat demuxer.
Problem was that the extradata was not passed from demuxer to decoder.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anssi Hannula
48545a8f72
configure: check yasm/nasm for working pextrd opcode
...
NASM versions older than 2.08 fail to build ffmpeg with several
"error: operation size not specified" errors but this is not caught in
configure.
Fix that by checking if "pextrd [eax], xmm0, 1" works in configure.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Diego Elio Pettenò
84ae8936f6
Make inter_rvlc and intra_rvlc static tables.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Ronald S. Bultje
ae0f8a1a33
Fill in missing date.
14 years ago
Ronald S. Bultje
efdd67cb00
Update MINOR and set git rev for non-blocking flag API addition.
14 years ago
Anton Khirnov
c2fcd0a7a4
Replace remaining occurrences of deprecated CH_* with AV_CH_*
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Nicolas George
ad3cffb68f
Non-blocking protocol: TCP
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Nicolas George
90441276e4
Non-blocking protocol: core wrapper functions
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Nicolas George
fe174fc8fc
Non-blocking protocols: flag and documentation
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Kieran Kunhya
f4a86bc981
Set channel_layout for mpegaudio
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
5a6de4e7e8
mp3enc: write ISO8859-1 instead of UTF-16 when possible
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Peter Ross
74571e333c
reindent after last commit
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Peter Ross
e4f85b8499
wtv: do not use flag in stream_guid chunk to determine if stream is valid, as this method is unreliable
...
This fixes roundup issue 2556.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Alexander Strange
edbb0c0708
vp3: Move table allocation code into a new function
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Alexander Strange
e8dcd73058
vp3: Factor out expression
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
James Zern
60ff9de6ff
cmdutils: fix codec-specific options from preset
...
Using a preset file caused the address of a stack variable to be stored
in opt_names/values. This change causes the strings to be dup'd then
freed in uninit_opts.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
James Zern
3a6a9cdf5b
cmdutils: fix opt_values leak
...
Add free to uninit_opts and relocate opt_names to same
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Alexander Strange
6b47495397
Adopt pkt_dts/pkt_pts in lavc clients
...
No behavior change; this makes DTS reliable with the next patch.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
185a155e57
applehttp: Handle absolute paths relative to the current server
...
This fixes roundup issue 2583.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
5306bf41a6
movenchint: Use rtpenc_chain for setting up the chained RTP muxer
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
397ffde115
rtpenc_chain: Don't copy the time_base back to the caller
...
If required, the caller can do this itself. ff_write_chained rescales
timestamps as necessary, and all current callers of rtpenc_chain
use ff_write_chained, making this timebase copy unnecessary.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
b22dbb291d
Use avformat_free_context for cleaning up muxers
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
ff19748977
Add an APIchanges entry for avformat_free_context
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
f124b087ee
libavformat: Add a function for freeing an AVFormatContext
...
This function is useful for freeing data structures allocated by
muxers, which currently have to be freed manually by the caller.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
1338dc0823
libavformat: Use avcodec_copy_context for chained muxers
...
This avoids having the chained AVStream->codec point to the same
AVCodecContext owned by the outer AVStream. The downside is that
changes to the AVCodecContext made after calling av_write_header
cannot be detected automatically within the chained muxer.
This avoids having to manually unlink the chained AVStream->codec
by setting it to null before freeing the chained muxer via generic
freeing functions.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Jason Garrett-Glaser
8a2c99b486
VP8: slightly faster loopfilter sharpness logic
14 years ago
Jason Garrett-Glaser
79dec1541b
VP8: faster deblock strength calculation
...
Convert hev_thresh logic to a LUT, simplify mbedge_lim calculation.
14 years ago
Clément Bœsch
290849e2a4
Remove forgotten if (p) av_free(p) forms
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Clément Bœsch
523d9407d5
Remove a few if (p) av_freep(&p) forms
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Jason Garrett-Glaser
a1b227bb53
VP8: faster filter_level clip
14 years ago
Jason Garrett-Glaser
dd18c9a050
VP8: simplify lf_delta mb mode logic
14 years ago
Stefano Sabatini
4359288c56
Make avfilter_graph_free() free the graph.
...
Make avfilter_graph_free() free not only the internal structures, but
also the allocated graph, and set the graph pointer to NULL for
increased safety.
Simplify usage.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
e8e5dde779
Make avfilter_graph_parse() not free the input graph
...
Make avfilter_graph_parse() only release the internal structures
allocated during the parsing, and leave to free the graph itself to
the calling code.
This approach looks cleaner, as the graph is not allocated by the
function.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Peter Ross
e6fb5a4f78
add ff_index_search_timestamp and ff_add_index_entry
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Nicolas George
51b317d2e9
TCP: factor the poll() call
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Peter Ross
f61dee2fe4
wtv: filesystem implementation
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
a9d921cbad
tty.c: rename PKT_FLAG_KEY to AV_PKT_FLAG_KEY.
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
151595fe2e
Rename remaining occurrences of SAMPLE_FMT_* to AV_SAMPLE_FMT_*
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
b2ed95ec48
Replace remaining occurrences of CODEC_TYPE_* with AVMEDIA_TYPE*
...
Tested to compile with lavc major bump.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Martin Storsjö
1f56f5ed6d
sapenc: Free AVStream->info on cleanup
...
This fixes yet another memory leak, present since SVN rev 25418.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
9ad4c65f6f
rtmpproto: rename URLContext* argument in rtmp_write()
...
Now the first argument is URLContext *h. However, the function logs to
LOG_CONTEXT, which is #defined as 's' for new lavf major versions.
Therefore, rename h -> s.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Tomas Härdin
e65b1934bf
Add ProRes FOURCCs to isom.c
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Tomas Härdin
75fd0668df
Add APIchanges entry for lavc 52.109.0
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Tomas Härdin
f5b82f45dc
Add CODEC_ID_PRORES and bump lavc minor version
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Benjamin Larsson
aa42cce57d
Add AVC-Intra identifiers used by Flip4Mac for mov files
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Clément Bœsch
437fb1c87d
Remove a few if (p) av_free(p) forms
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Clément Bœsch
dc75d6dbf2
Avoid pointless check before calling free
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago