This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h. Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed. Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code. This also removes the need for berrno.h. Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing
- ffmpeg.c 4 additions, 4 deletionsffmpeg.c
- libavcodec/avcodec.h 19 additions, 2 deletionslibavcodec/avcodec.h
- libavcodec/dv.c 2 additions, 2 deletionslibavcodec/dv.c
- libavcodec/g726.c 1 addition, 1 deletionlibavcodec/g726.c
- libavcodec/gifdec.c 1 addition, 1 deletionlibavcodec/gifdec.c
- libavcodec/sonic.c 1 addition, 1 deletionlibavcodec/sonic.c
- libavformat/audio.c 1 addition, 1 deletionlibavformat/audio.c
- libavformat/avformat.h 2 additions, 10 deletionslibavformat/avformat.h
- libavformat/avio.c 5 additions, 5 deletionslibavformat/avio.c
- libavformat/avio.h 2 additions, 2 deletionslibavformat/avio.h
- libavformat/aviobuf.c 5 additions, 5 deletionslibavformat/aviobuf.c
- libavformat/beosaudio.cpp 11 additions, 11 deletionslibavformat/beosaudio.cpp
- libavformat/ffm.c 4 additions, 4 deletionslibavformat/ffm.c
- libavformat/file.c 1 addition, 1 deletionlibavformat/file.c
- libavformat/framehook.c 4 additions, 4 deletionslibavformat/framehook.c
- libavformat/gifdec.c 3 additions, 3 deletionslibavformat/gifdec.c
- libavformat/grab.c 1 addition, 1 deletionlibavformat/grab.c
- libavformat/grab_bktr.c 3 additions, 3 deletionslibavformat/grab_bktr.c
- libavformat/http.c 1 addition, 1 deletionlibavformat/http.c
- libavformat/img2.c 1 addition, 1 deletionlibavformat/img2.c
Loading
Please register or sign in to comment