apedec: set s->samples only when init_frame_decoder succeeded