X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=output_example.c;h=515a172661103956825b9597e6aed1bd9fdf6565;hb=7c1d608ece947c49b1ebbba415fada965cb8960f;hp=cb631d599d84a6fe065214d6474ad4c08ef3c7ef;hpb=755bfeabccbba9ae1b565b11d645b8e4fe139fa8;p=ffmpeg diff --git a/output_example.c b/output_example.c index cb631d599d8..515a1726611 100644 --- a/output_example.c +++ b/output_example.c @@ -31,8 +31,8 @@ #define M_PI 3.14159265358979323846 #endif -#include "avformat.h" -#include "swscale.h" +#include "libavformat/avformat.h" +#include "libswscale/swscale.h" #undef exit @@ -538,7 +538,7 @@ int main(int argc, char **argv) if (!(fmt->flags & AVFMT_NOFILE)) { /* close the output file */ - url_fclose(&oc->pb); + url_fclose(oc->pb); } /* free the stream */