Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37038522
en ru br
ALT Linux repositórios
S:2.0.0-alt2_16

Group :: Sistema/Bibliotecas
RPM: libvalhalla

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libvalhalla-2.0.0-ffmpeg-2.4.patch
Download


Index: libvalhalla-2.0.0/src/grabber_ffmpeg.c
===================================================================
--- libvalhalla-2.0.0/src/grabber_ffmpeg.c
+++ libvalhalla-2.0.0/src/grabber_ffmpeg.c	2014-11-14 17:49:10.531685146 +0100
@@ -64,7 +64,7 @@
   unsigned int i;
   unsigned int audio_streams = 0, video_streams = 0, sub_streams = 0;
 
-  res = av_find_stream_info (ctx);
+  res = avformat_find_stream_info (ctx, NULL);
   if (res < 0)
   {
     vh_log (VALHALLA_MSG_VERBOSE,
@@ -214,7 +214,7 @@
   res = grabber_ffmpeg_properties_get (ffmpeg, ctx, data);
   /* TODO: res = grabber_ffmpeg_snapshot (ctx, data, pos); */
 
-  av_close_input_file (ctx);
+  avformat_close_input (&ctx);
   return res;
 }
 
Index: libvalhalla-2.0.0/src/parser.c
===================================================================
--- libvalhalla-2.0.0/src/parser.c
+++ libvalhalla-2.0.0/src/parser.c	2014-11-14 17:46:28.605374135 +0100
@@ -377,7 +377,7 @@
   data->file.type = parser_stream_info (ctx);
   data->meta_parser = parser_metadata_get (parser, ctx, data->file.path);
 
-  av_close_input_file (ctx);
+  avformat_close_input (&ctx);
 }
 
 static void *
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009