#211: Function static int64_t nut_read_timestamp(AVFormatContext *s, int stream_index, int64_t *pos_arg, int64_t pos_limit) haven't got return operator after assert(0) ---------------------+--------------------- Reporter: Alex | Owner: michael Type: defect | Status: new Priority: normal | Component: avutil Version: git | Keywords: nutdec Blocked By: | Blocking: Reproduced: 0 | Analyzed: 0 ---------------------+--------------------- Look on libavutil/nutdec.c Function static int64_t nut_read_timestamp(AVFormatContext *s, int stream_index, int64_t *pos_arg, int64_t pos_limit) that starts from the line 831. It has to return int64_t value but the end of the function haven't got any return operators.
I propose to put there ''return AV_NOPTS_VALUE;'' as the last line of the function. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/211> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac