Ronald S. Bultje
1ce1e6360d
mov: use forward declaration of a function instead of a table.
...
MSVC gives a compile error on the tentative definition of
mov_default_parse_table[].
13 years ago
Diego Biurrun
2047e40e6e
Clarify Doxygen comment for FF_API_* #defines.
13 years ago
Piotr Bandurski
a54bc1ebb8
riff: add "YUV8" FourCC
...
sample:
http://samples.mplayerhq.hu/V-codecs/yuv8/MAILTEST.AVI
Reviewed-by: compn <tempn@twmi.rr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
af392efe51
lavf/segment: rename SegmentContext.pb to list_pb
...
The new name is more auto-explicative, as the pb is used for the segment
list file.
13 years ago
Stefano Sabatini
d8013f38ab
lavf/segment: add error log in case of invalid filename template
...
Better rather than silently exit.
13 years ago
Stefano Sabatini
a1e092ccd3
lavf/segment: fix logic for segmenting audio-only inputs
...
Also add a comment for clarifying the logic.
Fix trac ticket #1290 .
13 years ago
Stefano Sabatini
4e2899dd31
lavf/segment: add more information in log message in seg_write_packet()
13 years ago
Stefano Sabatini
fd0e6ef99a
lavf/segment: remove unused offset variable
13 years ago
Stefano Sabatini
77dcae5d74
lavf/segment: apply misc fixes to the private options internal documentation
...
Option help message tell what the option *does*, not what the set field
represents.
13 years ago
Stefano Sabatini
a5af29336a
lavf/segment: slightly simplify fail logic in seg_write_packet()
13 years ago
Stefano Sabatini
4ad17bc76b
lavf/segment: move list filename printing logic from segment_end() to segment_start()
...
Allow to deal with the list file printing only in a single point, thus
simplifying logic, and allow a bit of factorization (no special case
needed when printing the first file name of the list).
13 years ago
Diego Biurrun
09f211987c
misc typo and wording fixes
13 years ago
Luca Barbato
09a445ce34
flvdec: initial stream switch support
...
Codec change midstream gets mapped to a separate stream.
13 years ago
Paul B Mahol
596814f978
jvdec: fix memleak of jv->frames
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
9d0c71e5e3
jvdemux: correct size for truncated packets
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a08efa2e36
has_decode_delay_been_guessed: tighten up the heuristic.
...
This adds the minimum delay needed with the current decoder to
recognize the reorder buffer size for the reference bitstreams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4e9e0700fb
has_decode_delay_been_guessed: skip guessing when sps.num_reorder_frames is available
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2c883c6acf
has_decode_delay_been_guessed: improve heuristic
...
This allows MR4_TANDBERG_C.264 and MR5_TANDBERG_C.264 to be decoded without -strict 1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
5e745cefc0
asfdec: read attached pictures.
13 years ago
Anton Khirnov
728d2afa17
apetag: reindent
13 years ago
Anton Khirnov
02a951b919
apetag: export attached covers as video streams.
13 years ago
Anton Khirnov
b72767df8e
apetag: fix the amount of data read from binary tags.
...
Substract the filename size from the data size.
13 years ago
Anton Khirnov
f2e175c756
apetag: make sure avio_get_str() doesn't read more than it should.
13 years ago
Anton Khirnov
a02b8c695c
mov: read itunes cover art.
13 years ago
Clément Bœsch
c855ce2671
lavf/wtvdec: add missing { } around if.
...
This should fix the current failures spotted by FATE.
13 years ago
Kostya Shishkov
edf35d8342
MS ATC Screen (aka MSS3) decoder
13 years ago
Peter Ross
c4e0e74438
wtvdec: return error when filetime_to_iso8601/crazytime_to_iso8601 conversion fails
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
23eeffcd48
mov: add workaround for incorrect 0 time point.
...
Fixes Ticket1471
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Matthieu Bouron
8ac3868ff3
lavf/aiffdec: handle ID3 chunk
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
aa1cceb5eb
lavf/segment: rename variable "size" to "list_size"
...
The new name is more meaningful/less confusing.
13 years ago
Stefano Sabatini
3bee286ad2
lavf/segment: pass the top level chained muxer format context to segment_end()
...
Consistent with segment_start() and less confusing.
13 years ago
Michael Niedermayer
ac2d3b0f6e
nutdec: set duration_estimation_method
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3233ad4b44
nutdec: estimate duration from last syncpoint
...
Previously nut used the fallback of estimation by bitrate.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e2c95e6bd8
nutdec: remove assert that is wrong for some new duration code.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9d230ba924
nutdec: check that filesize is valid before using it.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
5a608a239b
os_support: Add fallback definitions for stat flags
...
Mingw headers provide similar defines already (unconditional #defines,
without any #undef or #ifdef around it), while MSVC doesn't have
them.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
cab2eb87f9
os_support: Rename the poll fallback function to ff_poll
...
The fallback function is a non-static function, we shouldn't be
defining non-static functions outside of the proper ff/av prefix
namespaces.
This is especially important for a function like poll, which
other parties (other libraries, or executables linking these
libraries) also might provide similar but incompatible fallbacks for.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
cdee08e365
network: Check for struct pollfd
...
We need to include winsock2.h here, to make sure we have the
real pollfd struct definition, if one exists, before defining the
fallback poll function.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
71078ad333
os_support: Don't compare a negative number against socket descriptors
...
The fds are unsigned integers in the windows definition of struct
sockfds. Due to this, the comparison if (fds[i].fd > n) was always
false.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
5aff37d28d
os_support: Include all the necessary headers for the win32 open function
...
io.h is required for open and _wopen, and fcntl.h is required for
the O_CREAT flag. On mingw, fcntl.h is included by os_support.h (and
the mingw fcntl.h includes io.h), but include it explicitly here
since this implementation requires it.
Also move the #undef open up. open must not be defined to ff_win32_open
while including the headers that declare the open function. On mingw,
this happened in os_support.h before open was redirected.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Clément Bœsch
439e32f9b8
RealText demuxer and decoder.
13 years ago
Clément Bœsch
53640f42be
SAMI demuxer and decoder.
13 years ago
Clément Bœsch
d948893dbd
lavf/subtitles: add some SMIL helpers.
...
This is needed for SAMI and RealText demuxers.
13 years ago
Clément Bœsch
a19e9f2d5c
lavf/microdvd: rewrite using subtitles queue API.
13 years ago
Clément Bœsch
0ef28e119e
lavf/jacosubdec: fix FPE in case timeres is badly set.
13 years ago
Clément Bœsch
60715511db
lavf/jacosubdec: use subtitles queue API.
13 years ago
Clément Bœsch
7c9f9685ae
lavf: add internal demuxer helpers for subtitles.
13 years ago
Stefano Sabatini
c1abfbc47c
lavf/segment: rename segment private context from "c" to "seg" in segment_start()
...
Consistent with the rest of the file, less confusing.
13 years ago
Stefano Sabatini
a9a7e215e5
lavf/segment: add stream_segment variant of the segment muxer
...
This simplifies usage for segment streaming formats with no global
headers, tipically MPEG 2 transport stream "ts" files.
The seg class duplication is required in order to avoid an infinite loop
in libavformat/utils.c:format_child_next_class().
13 years ago
Stefano Sabatini
3cd4f9fd76
lavf: allow multiple names in output devices selected by av_guess_format()
...
Consistent with av_find_input_format().
13 years ago