summaryrefslogtreecommitdiffstats
path: root/tools/pktdumper.c
Commit message (Collapse)AuthorAgeFilesLines
* tools: Wording and formatting cosmeticsDiego Biurrun2013-07-061-5/+5
|
* avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵Diego Biurrun2012-10-011-1/+0
| | | | statements
* pktdumper: Use a custom define instead of PATH_MAX for buffersMartin Storsjö2012-08-311-2/+4
| | | | | | | | 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-311-2/+3
| | | | | | | 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-311-4/+4
| | | | | | | 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-291-0/+6
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace usleep() calls with av_usleep()Mans Rullgard2012-06-221-1/+2
| | | | | | | 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-251-2/+0
|
* tools: K&R reformatting cosmeticsDiego Biurrun2012-01-251-10/+14
|
* pktdumper: Use usleep instead of sleepMartin Storsjö2012-01-251-1/+1
| | | | | | | | 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-121-1/+1
|
* tools/pktdumper: update to recent avformat apiJanne Grunau2011-10-281-3/+3
|
* Replace deprecated av_find_stream_info() by avformat_find_stream_info().Diego Biurrun2011-08-261-2/+2
|
* tools: Check the return value of write().Diego Biurrun2011-05-161-1/+5
| | | | | 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-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-311-2/+2
| | | | | | 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-011-0/+3
| | | | | | 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-201-1/+1
| | | | | | 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-141-0/+2
| | | | Originally committed as revision 11529 to svn://svn.ffmpeg.org/ffmpeg/trunk
* create and populate "tools" directoryMåns Rullgård2007-07-131-0/+117
Originally committed as revision 9634 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud