Changeset 456ffec3 in ffmpeg


Ignore:
Timestamp:
Jan 14, 2015, 4:10:01 PM (10 years ago)
Author:
Vittorio Giovara <vittorio.giovara@gmail.com>
Branches:
master
Children:
140dfd14, 1e763454
Parents:
51da7d02
git-author:
Vittorio Giovara <vittorio.giovara@gmail.com> (01/06/15 15:47:18)
git-committer:
Vittorio Giovara <vittorio.giovara@gmail.com> (01/14/15 16:10:01)
Message:

img2dec: correctly use the parsed value from -start_number

Previously the image sequence was always starting from the minimum
number rather than the requested one.

CC: libav-stable@libav.org

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavformat/img2dec.c

    r51da7d02 r456ffec3  
    195195        s->img_first  = first_index;
    196196        s->img_last   = last_index;
    197         s->img_number = first_index;
     197        s->img_number = s->start_number != 1 ? s->start_number : first_index;
    198198        /* compute duration */
    199199        st->start_time = 0;
Note: See TracChangeset for help on using the changeset viewer.