OSDN Git Service

movenc: Keep writing zero-entry stts atoms as intended
authorMartin Storsjö <martin@martin.st>
Fri, 6 Mar 2015 10:27:14 +0000 (12:27 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 6 Mar 2015 14:17:48 +0000 (16:17 +0200)
commit9731cf4001377fa2f75c279072cc2b0cbd57bf8e
tree33aee70d2033931dead77764e555243e15db4365
parent5aef535a64350b7bc06c5bdda8c26c9efec9443b
movenc: Keep writing zero-entry stts atoms as intended

a876585215 had the unintended side effect of returning AVERROR(ENOMEM)
when track->entry is zero, while the code intentionally wants to
continue in that case.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c