Baptiste Coudurier
b401a4ab8a
avformat/mxfenc: support XAVC long gop
6 years ago
James Almer
8d33e86616
avformat/avc: support writting more than one sps/pps in ff_isom_write_avcc
...
Addresses ticket #6864
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
d5af8afbe4
avformat/avc: free buffer in ff_isom_write_avcc on failure
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
df20619b64
avformat/avc: reindent after the last commit
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
9cd361c5c1
avformat/avc: refactor ff_isom_write_avcc
...
This lets us remove one indentation level.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
ae7df68edd
avformat/avc: return an error in ff_isom_write_avcc if the buffer lenght is too small
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Vittorio Giovara
41ed7ab45f
cosmetics: Fix spelling mistakes
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Lukasz Marek
21051af218
lavf/avc: add buffer padding to extradata allocation
...
ff_avc_write_annexb_extradata() allocates extradata, but don't add
FF_INPUT_BUFFER_PADDING_SIZE value
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Martin Storsjö
a2efbecc4e
libavformat: Move avc mp4 startcode parsing to a shared file
...
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
Martin Storsjö
d5ed5e7d0c
avc: Add a function for converting mp4 style extradata to annex b
...
Make movenc use this function instead of the current custom
conversion function.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
John Brooks
6c643e0705
avc: fix memory errors when encoding invalid h264 codecdata
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Anton Khirnov
6dc7d80de7
avio: avio_ prefix for url_close_dyn_buf
14 years ago
Anton Khirnov
b92c545282
avio: avio_ prefix for url_open_dyn_buf
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
e9eb8d0bce
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 77eb5504d3
)
14 years ago
Anton Khirnov
77eb5504d3
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
471fe57e1a
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ae628ec1fd
)
14 years ago
Anton Khirnov
ae628ec1fd
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Carl Eugen Hoyos
dda8fc6a09
Include avc.h from avc.c: It contains several prototypes.
...
Originally committed as revision 22098 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
403c545d08
Attempt to fix the completely random values returned by ff_avc_find_startcode().
...
Originally committed as revision 21955 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
46c9eb57d0
cosmetics, remove spaces after '(' and before ')'
...
Originally committed as revision 19547 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
d4efacff64
Use intptr_t when casting pointers to int.
...
Originally committed as revision 18192 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
3700d80028
support h264 extradata with 0x000001 startcode
...
Originally committed as revision 16627 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
d298412062
export ff_avc_parse_nal_units_buf
...
Originally committed as revision 16624 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
a97772b166
return size written in ff_avc_parse_nal_units
...
Originally committed as revision 16622 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
0a63a676ec
Do not reallocate AVPacket's data when muxing a packet
...
Originally committed as revision 16616 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6a5d31ac25
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
...
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
591de5cf35
Fix misplaced const, avoids a cast-discards-qualifiers warning
...
Originally committed as revision 12146 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d937cd0ed2
const
...
Originally committed as revision 12145 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
b973f9ad7e
Make avc_find_startcode non-static, so that it can be used from other
...
files (and add the ff_ prefix, to avoid polluting the namespace)
Originally committed as revision 11532 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9ab3f71b60
add a ff_ prefix to newly exported functions from avc.c
...
Originally committed as revision 11511 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
1bd2d763d4
Move isom_write_avcc() and related functions into a separate file.
...
Originally committed as revision 11498 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago