avformat/movenc: propagate shift_data errors properly
authorMarton Balint <cus@passwd.hu>
Sun, 29 May 2016 14:51:57 +0000 (16:51 +0200)
committerMarton Balint <cus@passwd.hu>
Mon, 30 May 2016 22:35:16 +0000 (00:35 +0200)
commit15005701b590dfeed3d597444f1f5391ff1cfbb0
treec07677f2260fbcaaf9029627dcad8c81fac445d6
parent37d201aad9f7e7f233955345aee1198421a68f5e
avformat/movenc: propagate shift_data errors properly

The second one is not explicitly needed, as res is not reset, but it is there
for consistency.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/movenc.c