Skip to content
  • Edward Hervey's avatar
    Differentiate between "no more data" from "IO failure" when reading. · 89c3c79d
    Edward Hervey authored
    Where no more data is available, av_read_frame just returns an error code
    instead of making the difference between "I am not returning anything because
    we finished reading" and "I am not returning anything because the underlying
    read failed".
    
    We differentiate between the two by looking at whether we outputted any
    data previously or not.
    89c3c79d