mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
ext/dvdread/dvdreadsrc.c: check for an error from
Original commit message from CVS: * ext/dvdread/dvdreadsrc.c: check for an error from DVDReadBlocks() correctly.
This commit is contained in:
parent
9278f9b128
commit
921e4a2ff4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-06-25 David Schleef <ds@schleef.org>
|
||||
|
||||
* ext/dvdread/dvdreadsrc.c: check for an error from
|
||||
DVDReadBlocks() correctly.
|
||||
|
||||
2007-06-25 David Schleef <ds@schleef.org>
|
||||
|
||||
* ext/dvdread/dvdreadsrc.c:
|
||||
|
|
|
@ -778,7 +778,7 @@ again:
|
|||
|
||||
/* read NAV packet */
|
||||
len = DVDReadBlocks (src->dvd_title, src->cur_pack, 1, oneblock);
|
||||
if (len == 0)
|
||||
if (len != 1)
|
||||
goto read_error;
|
||||
|
||||
if (!gst_dvd_read_src_is_nav_pack (oneblock)) {
|
||||
|
|
Loading…
Reference in a new issue