[FFmpeg-cvslog] r25379 - trunk/libavformat/avformat.h

aurel subversion
Wed Oct 6 22:49:25 CEST 2010


Author: aurel
Date: Wed Oct  6 22:49:25 2010
New Revision: 25379

Log:
document the fact that av_new_stream() can't be called in a background thread

Modified:
   trunk/libavformat/avformat.h

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	Wed Oct  6 22:21:07 2010	(r25378)
+++ trunk/libavformat/avformat.h	Wed Oct  6 22:49:25 2010	(r25379)
@@ -363,7 +363,8 @@ typedef struct AVInputFormat {
     /**
      * Read one packet and put it in 'pkt'. pts and flags are also
      * set. 'av_new_stream' can be called only if the flag
-     * AVFMTCTX_NOHEADER is used.
+     * AVFMTCTX_NOHEADER is used and only in the calling thread (not in a
+     * background thread).
      * @return 0 on success, < 0 on error.
      *         When returning an error, pkt must not have been allocated
      *         or must be freed before returning



More information about the ffmpeg-cvslog mailing list