avcodec/qtrleenc: Use keyframe when no previous frame is available
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 26 Mar 2021 11:42:21 +0000 (12:42 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Thu, 1 Apr 2021 12:15:52 +0000 (14:15 +0200)
commitd5fc16a6a87a24360312b812a560e7a3664e3791
tree6c6fa53c3d75454a1527c36999baed97a98c2b69
parent64977ed7ae1e437910ca837ccb282e07d9200249
avcodec/qtrleenc: Use keyframe when no previous frame is available

If keeping a reference to an earlier frame failed, the next frame must
be an I frame for lack of reference frame. This commit implements this.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/qtrleenc.c