OSDN Git Service

mov: Save number of stsd elements after stream extradata allocation
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 29 Jun 2016 16:03:59 +0000 (12:03 -0400)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 29 Jun 2016 19:25:42 +0000 (15:25 -0400)
commit029cf99c5166b36f33381cd8ebfa5f1f1f463d1f
tree2e54960a383a43f257a61356c8fd3bcb46cd94a0
parent6c445990e64124ad64c79423dfd3764520648c89
mov: Save number of stsd elements after stream extradata allocation

Avoid freeing an unallocated array in mov_read_close() in case
of a malloc failure.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavformat/mov.c