Commit Graph

22 Commits

Author SHA1 Message Date
Anton Khirnov 384c9c2fa7 avio: add avio_tell macro as a replacement for url_ftell
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit a2704c9712)
2011-03-05 02:29:31 +01:00
Anton Khirnov 74b3f67c9c lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e356fc57a2)
2011-03-03 14:15:08 +01:00
Anton Khirnov f59d8ff8cd avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 6b4aa5dac8)
2011-03-03 14:15:03 +01:00
Anton Khirnov e63a362857 avio: avio_ prefixes for get_* functions
In the name of consistency:
get_byte           -> avio_r8
get_<type>         -> avio_r<type>
get_buffer         -> avio_read

get_partial_buffer will be made private later

get_strz is left out becase I want to change it later to return
something useful.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit b7effd4e83)
2011-02-22 02:44:37 +01:00
Anton Khirnov 471fe57e1a avio: rename ByteIOContext to AVIOContext.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ae628ec1fd)
2011-02-20 19:05:47 +01:00
Diego Elio Pettenò 66355be3c3 Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
(cherry picked from commit c6610a216e)
2011-01-28 03:15:34 +01:00
Stefano Sabatini 72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-30 23:30:55 +00:00
Baptiste Coudurier 6125d86597 technically mp2 in pva needs AVSTREAM_PARSE_FULL
Originally committed as revision 18966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 06:58:22 +00:00
Ivo van Poorten 896873b564 avoid possibly uninitialized return value
(found by clang static analyzer)

Originally committed as revision 18669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-23 18:44:03 +00:00
Stefano Sabatini bde15e74de Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me

Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 16:20:54 +00:00
Ivo van Poorten e03caf2efd Implement read_timestamp and enable seeking in PVA files.
Originally committed as revision 11455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:42:52 +00:00
Ivo van Poorten ffc2934112 cosmetics
Originally committed as revision 11454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:40:04 +00:00
Ivo van Poorten e661f76051 remove unnecessary check
Originally committed as revision 11453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:39:47 +00:00
Ivo van Poorten 9ae092036b use ff_parse_pes_pts for parsing an MPEG-PES timestamp
Originally committed as revision 11452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 23:38:12 +00:00
Ivo van Poorten 5e40d0e898 cosmetics, superfluous space
Originally committed as revision 11430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:33:27 +00:00
Ivo van Poorten 71e1080e28 proper check for valid pva_pts
Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:28:42 +00:00
Ivo van Poorten dba13944f0 do not return an error, but warn and recover when encountering an audio packet
that should countain a signaled mpeg-pes packet.

Originally committed as revision 11428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:27:49 +00:00
Ivo van Poorten 7705cf7e15 validate streamid before use
Originally committed as revision 11427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:18:44 +00:00
Ivo van Poorten fe332ad66e change audio codec id to mp2
Originally committed as revision 11426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:15:19 +00:00
Ivo van Poorten 0e8a207ff8 proper type and initialization of pva_pts
Originally committed as revision 11425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:13:27 +00:00
Ivo van Poorten 6a5ef2934c remove unnecessary shift
Originally committed as revision 11424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-05 22:10:00 +00:00
Ivo van Poorten 3feb44a9be TechnoTrend PVA Demuxer
Originally committed as revision 11371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-02 10:45:28 +00:00