Diego Biurrun
117f79de2d
truemotion2: Sanitize tm2_read_header()
Also give a variable a more sensible name.
13 years ago
Anton Khirnov
5e6ee38bd3
FATE: add cavs test
13 years ago
Anton Khirnov
fb0cb11f09
cavsdec: export picture type in the output frame
13 years ago
Anton Khirnov
7d84826400
cavs: deMpegEncContextize
It does not use any of the mpegvideo infrastructure, just a few fields
from the context.
Fixes a segfault with the emu edge flag, since emu edge buffer is now
allocated as a part of the frame buffer allocation and cavs calls
ff_get_buffer() directly, it does not use mpegvideo buffer management.
Fixes a memleak of the last frame.
13 years ago
Anton Khirnov
64bb3fa6b7
cavs: cosmetics, reformat top part
13 years ago
Anton Khirnov
185c2ef849
cavsdec: cosmetics, reformat
13 years ago
Diego Biurrun
015da965a6
libavcodec/utils: Add braces to shut up gcc warnings
libavcodec/utils.c:1050:5: warning: missing braces around initializer [-Wmissing-braces]
libavcodec/utils.c:1314:5: warning: missing braces around initializer [-Wmissing-braces]
13 years ago
Luca Barbato
d615da60c1
snow: use VideoDSPContext
It was left over from the initial conversion.
13 years ago
Luca Barbato
30a7648730
hlsenc: make segment number unsigned
It will overflow if somebody keeps streaming for a time long enough.
13 years ago
Kanglin
27a15e0af6
hlsenc: make EXT-X-MEDIA-SEQUENCE always increase
13 years ago
Luca Barbato
9b1370aced
hlsenc: do not add timestamps in different timebases
start_time is in stream timebase units while end_time is
in AV_TIME_BASE ones.
13 years ago
Kanglin
0d8cc7a3b2
hlsenc: use the correct AV_TIME_BASE macro
recording_time is in AV_TIME_BASE units.
13 years ago
Luca Barbato
0448f26c97
hlsenc: keep the playlist to the correct number of items
Consider the corner case with a list size larger than the wrap
number.
13 years ago
Luca Barbato
ae85d6c9c0
hlsenc: use the segment filename in the playlist entry
Avoid calling av_get_frame_filename twice, once to generate the
segment filename and once to generate the playlist.
13 years ago
Luca Barbato
6dd93ee6f1
hlsenc: check append_entry return value
13 years ago
Luca Barbato
66f7b4862f
hlsenc: use the basename to generate the list entries
The segment path is desumed from the playlist path, recording a
relative path in the playlist while serving the file could lead
to misleading results.
13 years ago
Luca Barbato
d8fd06c37d
avstring: add av_basename and av_dirname
Thread safe version of the common basename and dirname.
13 years ago
Diego Biurrun
c73c87b412
cosmetics: Prettyprint codec/format/filter registration files
13 years ago
Diego Biurrun
69583bd3b1
avfilter: Refactor unconditional filter registration
13 years ago
Diego Biurrun
5ad2f0bfb2
build: Add rtpenc_chain extra config option
Also fixes linking in various configs with only individual parts enabled
because the RTP muxer chaining code depends on the general RTP code,
which is now accounted for.
13 years ago
Diego Biurrun
844c68520e
configure: Add --disable-all command line option
This option disables all programs, libraries and other parts of Libav
that get built as part of the compilation process.
13 years ago
Janne Grunau
1f4ea4e068
mpegvideo: initialize videodsp with correct pixel depth
Fixes decoding of 9/10 bit per pixel h264 videos as reported in
https://bugzilla.libav.org/show_bug.cgi?id=404 .
13 years ago
Anton Khirnov
0a9132b84c
wnv1: cosmetics, reformat
13 years ago
Anton Khirnov
51648da4dc
xan: remove a trivially true if().
This function used to be shared with the xxan decoder, but that is not
true anymore.
13 years ago
Anton Khirnov
99e36ddd3e
ansi: do not depend on get_buffer() initializing the frame.
The background changes from 128 (used by the default/cmdutils
get_buffer()) to 0. This looks more correct.
13 years ago
Anton Khirnov
261f0b14ed
zerocodec: remove an unused variable.
13 years ago
Anton Khirnov
8adfacff5c
zmbv: remove some pointless comments and empty lines
13 years ago
Anton Khirnov
c6303f8d70
yop: simplify/sanitize the decoding loop
Do not overwrite linesize set by get_buffer().
The last frame in the FATE test is not decoded anymore, since the file
is cut and a part of it is missing.
13 years ago
Anton Khirnov
f6e395e132
c93: set palette_has_changed.
13 years ago
Anton Khirnov
3eab600752
bmp: cosmetics, reformat
13 years ago
Martin Storsjö
4a9f7d2bf9
hlsenc: Don't duplicate a string constant
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Stefano Sabatini
3193b13aa1
hlsenc: Allocate enough space for the pattern string
If s->filename doesn't contain any period/filename extension to strip
away, the buffer will be too small to fit both strings. This isn't
any buffer overflow since the concatenation uses av_strlcat with
the right buffer size.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
0940580adb
lavc: Correct the description of pkt_dts
The description as updated in 6e5c44b0f made it sound like it is
handled exactly like the pts, which it is not. Clarify that it
is the packet that triggered returning the frame instead of just
the last avpacket (in case of frame threading, it won't be the
dts of the last packet).
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
5af53731d9
avfilter: Compile FIFO filters unconditionally
Building libavfilter without that functionality makes little sense.
13 years ago
Diego Biurrun
f3298f1299
Return proper error code after av_log_ask_for_sample()
13 years ago
Diego Biurrun
ed40b6bf07
configure: cosmetics: Separate hwaccel dependencies from decoders/encoders
Also move mpegvideo_select statement to the correct position.
13 years ago
Luca Barbato
ba064ebe48
oggdec: check memory allocation
13 years ago
Luca Barbato
f5f1cf5224
oggdec: K&R cosmetic formatting
13 years ago
Luca Barbato
7e98956e72
hlsenc: correctly report target duration
13 years ago
Anton Khirnov
b6d7d4efae
8bps: cosmetics
Remove some pointless comments and empty lines.
13 years ago
Anton Khirnov
c64cf2a37b
aasc: cosmetics, reformat
13 years ago
Anton Khirnov
808b2227d7
ansi: remove an extra return
13 years ago
Anton Khirnov
c3a76c3dec
asvdec: cosmetics, reformat
13 years ago
Anton Khirnov
bdfa24514e
aura: cosmetics, reformat
13 years ago
Anton Khirnov
b047c68783
4xm: don't rely on get_buffer() initializing the frame.
13 years ago
Anton Khirnov
2ca5ca2957
huffyuv: split encoder and decoder into separate files.
13 years ago
Anton Khirnov
6e5c44b043
lavc: make pkt_{p,d}ts doxy less confusing
13 years ago
Anton Khirnov
418693bdc5
lavc: rewrite and extend AVFrame doxy
13 years ago
Justin Ruggles
d02202e08a
opt: avoid segfault in av_opt_next() if the class does not have an option list
CC: libav-stable@libav.org
13 years ago
Justin Ruggles
5778299c7e
ttadec: fix last frame handling when seeking
Using a frame count, as is done currently, does not work at all with
seeking. Instead, when the number of samples in the final frame has
been decoded, we check if only the 32-bit CRC is remaining. If so, we
assume that it is the final frame.
There is no longer a need to keep total_frames in TTAContext.
14 years ago