Fix tng_num_frame_sets_get() with no frame sets.
authorMagnus Lundborg <lundborg.magnus@gmail.com>
Mon, 30 Jun 2014 08:06:02 +0000 (10:06 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 5 Jul 2014 12:37:09 +0000 (14:37 +0200)
commitece402b9852ee97a9221f9b443300287f53e79df
treebf9adb1c08be1a980c908f46a668bee7b4ebfcf3
parentde821aaf0ba0c046dd3215bd1129035f8eea7ff0
Fix tng_num_frame_sets_get() with no frame sets.

When there are no frame sets the function returned an error.
This corresponds to commit 6f7862c7406b in the TNG repository.

Fixes #1540

Change-Id: I3df04d84ebd8fcdc6be76a446efa3209df363d23
src/external/tng_io/BuildTNG.cmake
src/external/tng_io/src/lib/tng_io.c