1. 05 Mar, 2012 3 commits
    • Anton Khirnov's avatar
      lavf: deobfuscate read_frame_internal(). · 27c7ca9c
      Anton Khirnov authored
      Split off packet parsing into a separate function. Parse full packets at
      once and store them in a queue, eliminating the need for tracking
      parsing state in AVStream.
      
      The horrible unreadable loop in read_frame_internal() now isn't weirdly
      ordered and doesn't contain evil gotos, so it should be much easier to
      understand.
      
      compute_pkt_fields() now invents slightly different timestamps for two
      raw vc1 tests, due to has_b_frames being set a bit later. They shouldn't
      be more wrong (or right) than previous ones.
      27c7ca9c
    • Anton Khirnov's avatar
      lavf: make read_from_packet_buffer() more flexible. · dcee8115
      Anton Khirnov authored
      Make packet buffer a parameter, don't hardcode it to be
      AVFormatContext.packet_buffer.
      
      Also move the function higher in the file, since it will be called from
      read_frame_internal().
      dcee8115
    • Anton Khirnov's avatar
      lavf: factorize freeing a packet buffer. · 52b0943f
      Anton Khirnov authored
      52b0943f
  2. 03 Mar, 2012 1 commit
  3. 29 Feb, 2012 3 commits
  4. 26 Feb, 2012 2 commits
  5. 24 Feb, 2012 1 commit
    • Anton Khirnov's avatar
      lavf: move the packet keyframe setting code. · 655b24c0
      Anton Khirnov authored
      compute_pkt_fields() is for unreliable estimates or guessing. The
      keyframe information from the parser is (at least in theory) reliable,
      so it should be used even when the other guessing is disabled with the
      AVFMT_FLAG_NOFILLIN flag.
      
      Therefore, move setting the packet keyframe flag based on parser
      information from compute_pkt_fields() to read_frame_internal().
      655b24c0
  6. 22 Feb, 2012 1 commit
  7. 20 Feb, 2012 1 commit
  8. 12 Feb, 2012 1 commit
  9. 31 Jan, 2012 3 commits
  10. 30 Jan, 2012 1 commit
  11. 27 Jan, 2012 9 commits
  12. 25 Jan, 2012 2 commits
  13. 20 Jan, 2012 1 commit
  14. 18 Jan, 2012 1 commit
  15. 12 Jan, 2012 1 commit
  16. 05 Jan, 2012 2 commits
  17. 03 Jan, 2012 1 commit
  18. 31 Dec, 2011 1 commit
  19. 21 Dec, 2011 1 commit
  20. 18 Dec, 2011 1 commit
  21. 13 Dec, 2011 1 commit
  22. 12 Dec, 2011 2 commits