1. 24 Mar, 2016 1 commit
    • Martin Storsjö's avatar
      avio: Copy URLContext generic options into child URLContexts · fab8156b
      Martin Storsjö authored
      Since all URLContexts have the same AVOptions, such AVOptions
      will be applied on the outermost context only and removed from the
      dict, while they probably make sense on all contexts.
      
      This makes sure that rw_timeout gets propagated to the innermost
      URLContext (to make sure it gets passed to the tcp protocol, when
      opening a http connection for instance).
      
      Alternatively, such matching options would be kept in the dict
      and only removed after the ffurl_connect call.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      fab8156b
  2. 22 Feb, 2016 3 commits
  3. 27 Jul, 2015 1 commit
  4. 07 Jun, 2015 1 commit
  5. 31 May, 2015 1 commit
  6. 11 Mar, 2015 1 commit
  7. 28 Feb, 2015 1 commit
  8. 24 Feb, 2015 1 commit
  9. 28 Jan, 2015 1 commit
    • Luca Barbato's avatar
      avio: Do not consider the end-of-buffer position valid · 3c18a7b1
      Luca Barbato authored
      Trigger a refill if the seek action moves the pointer
      at the end of the buffer.
      
      Before this patch the read action following the seek would trigger
      the refill, while write action would write outside the buffer.
      
      In the Libav codebase few muxers seek forward outside of what
      already has been written so it is quite unlikely to experience
      the problem with the default buffer size.
      
      CC: libav-stable@libav.org
      3c18a7b1
  10. 20 Oct, 2014 1 commit
  11. 17 Apr, 2014 1 commit
  12. 01 Nov, 2013 1 commit
    • Martin Storsjö's avatar
      aviobuf: Handle a NULL buffer in avio_close_dyn_buf · d07b51bf
      Martin Storsjö authored
      This simplifies proper error handling in rtsp.c/rtspdec.c. When
      broadcasting over RTSP in TCP mode, the AVIOContext is closed and
      recreated for each sent packet, and if the recreation fails, we might
      try to close a NULL buffer when freeing things at the end.
      
      Previously, if recreating the buffer in rtspdec.c failed, this would
      crash later due to trying to close a NULL buffer.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      d07b51bf
  13. 26 Sep, 2013 1 commit
  14. 19 Sep, 2013 1 commit
  15. 18 Sep, 2013 1 commit
  16. 08 Aug, 2013 1 commit
  17. 05 Aug, 2013 1 commit
  18. 26 Jul, 2013 1 commit
  19. 03 Jan, 2013 2 commits
  20. 20 Dec, 2012 1 commit
  21. 09 Dec, 2012 1 commit
  22. 17 Oct, 2012 1 commit
  23. 10 Oct, 2012 1 commit
  24. 15 Sep, 2012 1 commit
  25. 04 Sep, 2012 1 commit
  26. 27 Apr, 2012 1 commit
  27. 27 Jan, 2012 1 commit
  28. 07 Jan, 2012 1 commit
  29. 04 Jan, 2012 1 commit
    • Janne Grunau's avatar
      avio: exit early in fill_buffer without read_packet · a2d1d216
      Janne Grunau authored
      Fixes an invalid free() with ass in avi. The sample in bug 98 passes
      parts of AVPacket.data as buffer for the AVIOContext. Since the packet
      is quite large fill_buffer tries to reallocate the buffer before doing
      nothing. Fixes bug 98.
      a2d1d216
  30. 13 Nov, 2011 3 commits
  31. 02 Nov, 2011 1 commit
  32. 17 Oct, 2011 1 commit
  33. 15 Jul, 2011 1 commit
  34. 21 May, 2011 1 commit
  35. 19 Apr, 2011 1 commit