Luca Barbato
818d1f1a3e
ac3: Clean up the error paths
12 years ago
Luca Barbato
6258d362b8
ac3: Do not clash with normal AVERROR
The parsing function return AVERROR and AAC_AC3_PARSE_ERROR values,
make sure they are not misunderstood.
12 years ago
Luca Barbato
f4634ae8a8
flv: Fix the help string
12 years ago
Luca Barbato
21015109ec
doc: Document the flv demuxer
12 years ago
John Stebbins
f812eeda17
matroskaenc: Fix writing TRACKDEFAULTFLAG
The element was only being written when the value == 1. But the default
value of this element is 1, so this has no useful effect. This element
needs to be written when the value == 0.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Martin Storsjö
0fb3e1c6ce
movenc: Check for errors from mov_create_chapter_track
On failures in the write_trailer function, we could also ignore
the errors and try to finish the file despite these errors (which
would only leave an incomplete chapters track). It's probably better
to signal the error clearly to the caller though (and if this
function failed there's no guarantee that there's enough memory to
finish the trailer either).
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
2bbad1f94c
movenc: Properly free allocated data on failures in mov_write_header
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
3559fb97c4
movenc: Check that tracks->enc exists before trying to free extradata
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
4d122b01e4
movenc: Check for allocation failures in mov_create_chapter_track
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Kostya Shishkov
4eb4bb3a02
imc: support mode 1
12 years ago
Kostya Shishkov
9e7b62f0fb
twinvq: set block align for codecs and use it in size checks
This both allows factoring out size check for both MetaSound and TwinVQ-VQF
decoders and fixes the situation when there are several MetaSound frames
stuffed together (that happens in 8kHz @ 8kbps MetaSound in ASF for example).
12 years ago
Luca Barbato
b89e8759e0
mov: Write tmcd extradata
12 years ago
Luca Barbato
5b41eb91e0
mov: Parse tmcd extradata
12 years ago
Luca Barbato
0b5af5cf12
mov: Refactor multiple stsd skipping in mov_mov_skip_multiple_stsd
12 years ago
Luca Barbato
08504380dd
mov: Refactor codec specific final steps in mov_finalize_stsd_codec
12 years ago
Luca Barbato
dc518a3ae2
mov: Refactor subtitle specific parsing in mov_parse_stsd_subtitle
12 years ago
Luca Barbato
ef196beeb5
mov: Refactor audio specific parsing in mov_parse_stsd_audio
12 years ago
Luca Barbato
a3b53ff062
mov: Refactor video specific parsing in mov_parse_stsd_video
12 years ago
Luca Barbato
bf98562505
mov: Refactor codec id selection in mov_codec_id
12 years ago
Diego Biurrun
ff9d57e7df
h264_cabac: Mark functions calling decode_cabac_residual_internal as noinline
This ensures that decode_cabac_residual_internal actually does get inlined,
which it otherwise does not, even though it is marked as always_inline.
12 years ago
Diego Biurrun
f407856968
arm: h264chroma: Do not compile h264_chroma_mc* dependent on h264 decoder
The functions are used by all codecs that enable the h264chroma component
and the file is already compiled conditional on h264chroma being enabled.
12 years ago
Diego Biurrun
84784c297f
libfdk-aacdec: formatting cosmetics
12 years ago
Diego Biurrun
8506ff97c9
vp56: Mark VP6-only optimizations as such.
Most of our VP56 optimizations are VP6-only and will stay that way.
So avoid compiling them for VP5-only builds.
13 years ago
John Stebbins
30ce289074
movenc: Make tkhd "enabled" flag QuickTime compatible
QuickTime will play multiple audio tracks concurrently if this flag is
set for multiple audio tracks. And if no subtitle track has this flag
set, QuickTime will show no subtitles in the subtitle menu.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
John Stebbins
1f70a5ad28
mov: use tkhd enabled flag to set the default track
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Diego Biurrun
e7b31844f6
x86: Split DCT and FFT initialization into separate files
12 years ago
Clément Bœsch
60198742ff
movenc: fix detection of 64bit offset requirement
The old method doesn't work when moov is relocated to beginning of file
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
John Stebbins
fe5d5a8ffc
movenc: Make chapter track QuickTime compatible
QuickTime requires that the stsd.text box be completely filled in.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Clément Bœsch
f8ef91ff3d
movenc: add faststart option for web streaming
Faststart moves the moov atom to the beginning of the file and rewrites
the rest of the file after muxing is complete.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Rafaël Carré
4622f11f9c
w32pthread: help compiler figure out undeeded code
The emulation code is not needed when targetting Vista+
This helps getting rid of CreateSemaphore symbol, which is
forbidden in Windows Store apps.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
0b45269c2d
x86: h264_idct: Remove incorrect comment
12 years ago
Diego Biurrun
e95930eda1
avcodec/utils: Simplify a condition that combines HAVE_NEON and ARCH_ARM
12 years ago
Diego Biurrun
c18838f5eb
h264_ps: Use more meaningful error values
12 years ago
Diego Biurrun
330ad1f6a5
h264_ps: K&R formatting cosmetics
12 years ago
Diego Biurrun
8fed466b0a
h264_ps: Drop commented-out cruft
12 years ago
Diego Biurrun
c4e43560fe
h264data: Move some tables to the only place they are used
12 years ago
Diego Biurrun
f34de1486a
h264data: Remove unused luma_dc_field_scan table
12 years ago
Martin Storsjö
4f2b469da5
Add a libfdk-aac decoder
This can be useful for decoding AAC object types that are not supported
by the native AAC decoder, e.g. AAC-LD and AAC-ELD.
12 years ago
Justin Ruggles
545a0b807c
vf_fps: add 'start_time' option
This allows for dropping or duplication to match a particular start time.
12 years ago
Diego Biurrun
2a61592573
avcodec: Remove some commented-out debug cruft
12 years ago
John Stebbins
6c786765cd
movenc: Allow chapters to be written in trailer
This allows creation of frame accurate chapter marks from sources
like DVD and BD where the precise chapter location is not known until
the chapter mark has been reached during reading.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
John Stebbins
db03cb37fd
movenc: Allow chapter track in default MODE_MP4
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
64af59bc49
avformat: Fix references to removed av_close_input_file in Doxygen
12 years ago
Luca Barbato
67400f6b62
mov: Prevent segfaults on mov_write_hdlr_tag
Do not segfault when writing tracks such as tmcd by writing them down
as generic DataHandlers if not known.
12 years ago
Luca Barbato
22de0f8369
mov: Compute max duration among the tracks with a timescale
Prevent an assert.
12 years ago
Luca Barbato
3952303010
mov: Set the timescale for data streams
Data streams have a defined timebase, do not ignore it.
12 years ago
Martin Storsjö
b886f5c2f1
mkv: Allow flushing the current cluster in progress
Allow emitting the current cluster that is being written before
starting a new one, simplifying how to figure out where clusters
are positioned in the output stream (for live streaming).
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
59f595921e
mkv: Flush the old cluster before writing a new one
This simplifies keeping track of cluster boundaries for e.g.
livestreaming of WebM.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
98308bd44f
mkv: Add options for specifying cluster limits
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
148fbdd1c2
mkv: Refactor mkv_write_packet
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago