summaryrefslogtreecommitdiff
path: root/tools/pktdumper.c
Commit message (Collapse)AuthorAge
* avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-26
| | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* tools: Wording and formatting cosmeticsDiego Biurrun2013-07-06
|
* avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵Diego Biurrun2012-10-01
| | | | statements
* pktdumper: Use a custom define instead of PATH_MAX for buffersMartin Storsjö2012-08-31
| | | | | | | | PATH_MAX is not necessarily available on all systems, e.g. it's normally not available on MSVC, and is not guaranteed to defined on a POSIX system either. Signed-off-by: Martin Storsjö <martin@martin.st>
* pktdumper: Use av_strlcpy instead of strncpyMartin Storsjö2012-08-31
| | | | | | | This takes care of null-terminating the buffer if it is too small, which wasn't handled properly before. Signed-off-by: Martin Storsjö <martin@martin.st>
* pktdumper: Use sizeof(variable) instead of the direct buffer lengthMartin Storsjö2012-08-31
| | | | | | | Also change the snprintf size to use the full buffer, since snprintf always null-terminates the buffer. Signed-off-by: Martin Storsjö <martin@martin.st>
* tools: Include io.h for open/read/write/close if unistd.h doesn't existMartin Storsjö2012-08-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace usleep() calls with av_usleep()Mans Rullgard2012-06-22
| | | | | | | This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* tools: Remove some unnecessary #undefs.Diego Biurrun2012-01-25
|
* tools: K&R reformatting cosmeticsDiego Biurrun2012-01-25
|
* pktdumper: Use usleep instead of sleepMartin Storsjö2012-01-25
| | | | | | | | MinGW doesn't have sleep, only _sleep (which is deprecated), Sleep (which is defined in winbase.h and not in the standard C headers) and usleep. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-12
|
* tools/pktdumper: update to recent avformat apiJanne Grunau2011-10-28
|
* Replace deprecated av_find_stream_info() by avformat_find_stream_info().Diego Biurrun2011-08-26
|
* tools: Check the return value of write().Diego Biurrun2011-05-16
| | | | | This fixes several warnings of the type: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-31
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new packet reading API, fixes a memory leak.Zdenek Kabelac2009-05-01
| | | | | | patch by Zdenek Kabelac, zdenek.kabelac gmail com Originally committed as revision 18728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix #include path, headers from other directories need to haveDiego Biurrun2008-08-20
| | | | | | the directory name prefixed now. Originally committed as revision 14868 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add '#undef strcat' to fix compilation.Diego Biurrun2008-01-14
| | | | Originally committed as revision 11529 to svn://svn.ffmpeg.org/ffmpeg/trunk
* create and populate "tools" directoryMåns Rullgård2007-07-13
Originally committed as revision 9634 to svn://svn.ffmpeg.org/ffmpeg/trunk