smacker demuxer: handle possible av_realloc() failure.