1. 02 Oct, 2019 1 commit
  2. 01 Oct, 2019 15 commits
  3. 30 Sep, 2019 17 commits
  4. 29 Sep, 2019 6 commits
  5. 28 Sep, 2019 1 commit
    • Andreas Rheinhardt's avatar
      avformat/utils: Remove unnecessary initializations · 9fdc2c7b
      Andreas Rheinhardt authored
      Up until now, read_frame_internal always initialized the packet it
      received. But since the recent changes to ff_read_packet, this is no
      longer needed: If the parsing queue is initially empty upon entering
      read_frame_internal, the packet will now either contain content upon
      success or be blank upon failure of ff_read_packet. If the parsing
      queue is initially not empty, the packet will be overwritten with the
      oldest one from the parsing queue.
      
      Similarly, it is unnecessary to initialize ret in read_frame_internal.
      
      In parse_packet, it is easily possible to only initialize the packet
      used as temporary storage for the output if said packet is used at all;
      furthermore, this packet doesn't need to be zero-initialized, because
      av_init_packet will initialize every field except size and data and
      those fields will be set by av_parser_parse2.
      Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
      9fdc2c7b