This file is indexed.

/usr/share/doc/ffmpeg/api/structAVIOContext.html is in ffmpeg-doc 7:3.4.2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FFmpeg: AVIOContext Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">FFmpeg
   &#160;<span id="projectnumber">3.4.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">AVIOContext Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Bytestream IO Context.  
 <a href="structAVIOContext.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="avio_8h_source.html">libavformat/avio.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a25d3b039ac00850a25d7b772566db6a8"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structAVClass.html">AVClass</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a25d3b039ac00850a25d7b772566db6a8">av_class</a></td></tr>
<tr class="memdesc:a25d3b039ac00850a25d7b772566db6a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">A class for private options.  <a href="#a25d3b039ac00850a25d7b772566db6a8">More...</a><br /></td></tr>
<tr class="separator:a25d3b039ac00850a25d7b772566db6a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a901e8fd2b978d40957c4ed0b77c2daf0"><td class="memItemLeft" align="right" valign="top">unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a901e8fd2b978d40957c4ed0b77c2daf0">buffer</a></td></tr>
<tr class="memdesc:a901e8fd2b978d40957c4ed0b77c2daf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start of the buffer.  <a href="#a901e8fd2b978d40957c4ed0b77c2daf0">More...</a><br /></td></tr>
<tr class="separator:a901e8fd2b978d40957c4ed0b77c2daf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0204148f407d72becba822b90e8ce9a6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a0204148f407d72becba822b90e8ce9a6">buffer_size</a></td></tr>
<tr class="memdesc:a0204148f407d72becba822b90e8ce9a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum buffer size.  <a href="#a0204148f407d72becba822b90e8ce9a6">More...</a><br /></td></tr>
<tr class="separator:a0204148f407d72becba822b90e8ce9a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3500915a7434270c42dffc80fafffa2d"><td class="memItemLeft" align="right" valign="top">unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a3500915a7434270c42dffc80fafffa2d">buf_ptr</a></td></tr>
<tr class="memdesc:a3500915a7434270c42dffc80fafffa2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current position in the buffer.  <a href="#a3500915a7434270c42dffc80fafffa2d">More...</a><br /></td></tr>
<tr class="separator:a3500915a7434270c42dffc80fafffa2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0683d1a134b647c54f6d087d152c9a64"><td class="memItemLeft" align="right" valign="top">unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a0683d1a134b647c54f6d087d152c9a64">buf_end</a></td></tr>
<tr class="memdesc:a0683d1a134b647c54f6d087d152c9a64"><td class="mdescLeft">&#160;</td><td class="mdescRight">End of the data, may be less than buffer+buffer_size if the read function returned less data than requested, e.g.  <a href="#a0683d1a134b647c54f6d087d152c9a64">More...</a><br /></td></tr>
<tr class="separator:a0683d1a134b647c54f6d087d152c9a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa97c079a10a48588f7b55f9dfff1e47"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a></td></tr>
<tr class="memdesc:afa97c079a10a48588f7b55f9dfff1e47"><td class="mdescLeft">&#160;</td><td class="mdescRight">A private pointer, passed to the read/write/seek/...  <a href="#afa97c079a10a48588f7b55f9dfff1e47">More...</a><br /></td></tr>
<tr class="separator:afa97c079a10a48588f7b55f9dfff1e47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9be0423e0c66d11d8e0ace043e3aec08"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a9be0423e0c66d11d8e0ace043e3aec08">read_packet</a> )(void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, uint8_t *buf, int buf_size)</td></tr>
<tr class="separator:a9be0423e0c66d11d8e0ace043e3aec08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb1f05f0e4e957090ccc23f0b82a0b08"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#afb1f05f0e4e957090ccc23f0b82a0b08">write_packet</a> )(void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, uint8_t *buf, int buf_size)</td></tr>
<tr class="separator:afb1f05f0e4e957090ccc23f0b82a0b08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cda0cd632c90d13a546f663287e6cf5"><td class="memItemLeft" align="right" valign="top">int64_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a4cda0cd632c90d13a546f663287e6cf5">seek</a> )(void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, int64_t offset, int whence)</td></tr>
<tr class="separator:a4cda0cd632c90d13a546f663287e6cf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7158ec9b44d75704ea5c2fa5ac28fd50"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a7158ec9b44d75704ea5c2fa5ac28fd50">pos</a></td></tr>
<tr class="memdesc:a7158ec9b44d75704ea5c2fa5ac28fd50"><td class="mdescLeft">&#160;</td><td class="mdescRight">position in the file of the current buffer  <a href="#a7158ec9b44d75704ea5c2fa5ac28fd50">More...</a><br /></td></tr>
<tr class="separator:a7158ec9b44d75704ea5c2fa5ac28fd50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06e6f0186fcf571355cee82e837dc339"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a06e6f0186fcf571355cee82e837dc339">must_flush</a></td></tr>
<tr class="memdesc:a06e6f0186fcf571355cee82e837dc339"><td class="mdescLeft">&#160;</td><td class="mdescRight">unused  <a href="#a06e6f0186fcf571355cee82e837dc339">More...</a><br /></td></tr>
<tr class="separator:a06e6f0186fcf571355cee82e837dc339"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9214f54c01f07076e0a0718b2e9c27b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#aa9214f54c01f07076e0a0718b2e9c27b">eof_reached</a></td></tr>
<tr class="memdesc:aa9214f54c01f07076e0a0718b2e9c27b"><td class="mdescLeft">&#160;</td><td class="mdescRight">true if eof reached  <a href="#aa9214f54c01f07076e0a0718b2e9c27b">More...</a><br /></td></tr>
<tr class="separator:aa9214f54c01f07076e0a0718b2e9c27b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab6ff8baf51038f1557e817717baccba"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#aab6ff8baf51038f1557e817717baccba">write_flag</a></td></tr>
<tr class="memdesc:aab6ff8baf51038f1557e817717baccba"><td class="mdescLeft">&#160;</td><td class="mdescRight">true if open for writing  <a href="#aab6ff8baf51038f1557e817717baccba">More...</a><br /></td></tr>
<tr class="separator:aab6ff8baf51038f1557e817717baccba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca19990941933d7573a485851c6b798e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#aca19990941933d7573a485851c6b798e">max_packet_size</a></td></tr>
<tr class="separator:aca19990941933d7573a485851c6b798e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a949cd6dbd89e2d5d59f5c768754004ca"><td class="memItemLeft" align="right" valign="top">unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a949cd6dbd89e2d5d59f5c768754004ca">checksum</a></td></tr>
<tr class="separator:a949cd6dbd89e2d5d59f5c768754004ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10cbe217c46aeb653d360a9391aff310"><td class="memItemLeft" align="right" valign="top">unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a10cbe217c46aeb653d360a9391aff310">checksum_ptr</a></td></tr>
<tr class="separator:a10cbe217c46aeb653d360a9391aff310"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ff26703ccfb39cdd38fd49f5a95796c"><td class="memItemLeft" align="right" valign="top">unsigned long(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a7ff26703ccfb39cdd38fd49f5a95796c">update_checksum</a> )(unsigned long <a class="el" href="structAVIOContext.html#a949cd6dbd89e2d5d59f5c768754004ca">checksum</a>, const uint8_t *buf, unsigned int size)</td></tr>
<tr class="separator:a7ff26703ccfb39cdd38fd49f5a95796c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb903b1d9614bfb59e8cc5213de3777b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#afb903b1d9614bfb59e8cc5213de3777b">error</a></td></tr>
<tr class="memdesc:afb903b1d9614bfb59e8cc5213de3777b"><td class="mdescLeft">&#160;</td><td class="mdescRight">contains the error code or 0 if no error happened  <a href="#afb903b1d9614bfb59e8cc5213de3777b">More...</a><br /></td></tr>
<tr class="separator:afb903b1d9614bfb59e8cc5213de3777b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3658a91428df0cfa2b834f6bd7d7bd4"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#ae3658a91428df0cfa2b834f6bd7d7bd4">read_pause</a> )(void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, int pause)</td></tr>
<tr class="memdesc:ae3658a91428df0cfa2b834f6bd7d7bd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pause or resume playback for network streaming protocols - e.g.  <a href="#ae3658a91428df0cfa2b834f6bd7d7bd4">More...</a><br /></td></tr>
<tr class="separator:ae3658a91428df0cfa2b834f6bd7d7bd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2e538dd7f6a73cbc77e6ffdf3f11882"><td class="memItemLeft" align="right" valign="top">int64_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#ac2e538dd7f6a73cbc77e6ffdf3f11882">read_seek</a> )(void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, int stream_index, int64_t timestamp, int flags)</td></tr>
<tr class="memdesc:ac2e538dd7f6a73cbc77e6ffdf3f11882"><td class="mdescLeft">&#160;</td><td class="mdescRight">Seek to a given timestamp in stream with the specified stream_index.  <a href="#ac2e538dd7f6a73cbc77e6ffdf3f11882">More...</a><br /></td></tr>
<tr class="separator:ac2e538dd7f6a73cbc77e6ffdf3f11882"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e3c41c290b38923880b9cccb669bf78"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a0e3c41c290b38923880b9cccb669bf78">seekable</a></td></tr>
<tr class="memdesc:a0e3c41c290b38923880b9cccb669bf78"><td class="mdescLeft">&#160;</td><td class="mdescRight">A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.  <a href="#a0e3c41c290b38923880b9cccb669bf78">More...</a><br /></td></tr>
<tr class="separator:a0e3c41c290b38923880b9cccb669bf78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33e387aeb28b7a352c62ba8c30a214e7"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a33e387aeb28b7a352c62ba8c30a214e7">maxsize</a></td></tr>
<tr class="memdesc:a33e387aeb28b7a352c62ba8c30a214e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">max filesize, used to limit allocations This field is internal to libavformat and access from outside is not allowed.  <a href="#a33e387aeb28b7a352c62ba8c30a214e7">More...</a><br /></td></tr>
<tr class="separator:a33e387aeb28b7a352c62ba8c30a214e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af719be70947f5f8eebaa5f8ac58fd306"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#af719be70947f5f8eebaa5f8ac58fd306">direct</a></td></tr>
<tr class="memdesc:af719be70947f5f8eebaa5f8ac58fd306"><td class="mdescLeft">&#160;</td><td class="mdescRight">avio_read and avio_write should if possible be satisfied directly instead of going through a buffer, and avio_seek will always call the underlying seek function directly.  <a href="#af719be70947f5f8eebaa5f8ac58fd306">More...</a><br /></td></tr>
<tr class="separator:af719be70947f5f8eebaa5f8ac58fd306"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2685da68190c842c028ec161ff2b563e"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a2685da68190c842c028ec161ff2b563e">bytes_read</a></td></tr>
<tr class="memdesc:a2685da68190c842c028ec161ff2b563e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bytes read statistic This field is internal to libavformat and access from outside is not allowed.  <a href="#a2685da68190c842c028ec161ff2b563e">More...</a><br /></td></tr>
<tr class="separator:a2685da68190c842c028ec161ff2b563e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38b3c122a21fc2271e3174342e87a79f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a38b3c122a21fc2271e3174342e87a79f">seek_count</a></td></tr>
<tr class="memdesc:a38b3c122a21fc2271e3174342e87a79f"><td class="mdescLeft">&#160;</td><td class="mdescRight">seek statistic This field is internal to libavformat and access from outside is not allowed.  <a href="#a38b3c122a21fc2271e3174342e87a79f">More...</a><br /></td></tr>
<tr class="separator:a38b3c122a21fc2271e3174342e87a79f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac027eace34bf1dbcab5f71b0806d1c8a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#ac027eace34bf1dbcab5f71b0806d1c8a">writeout_count</a></td></tr>
<tr class="memdesc:ac027eace34bf1dbcab5f71b0806d1c8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">writeout statistic This field is internal to libavformat and access from outside is not allowed.  <a href="#ac027eace34bf1dbcab5f71b0806d1c8a">More...</a><br /></td></tr>
<tr class="separator:ac027eace34bf1dbcab5f71b0806d1c8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a167eec001560f151e6ae0ebb4e2fd0fa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a167eec001560f151e6ae0ebb4e2fd0fa">orig_buffer_size</a></td></tr>
<tr class="memdesc:a167eec001560f151e6ae0ebb4e2fd0fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Original buffer size used internally after probing and ensure seekback to reset the buffer size This field is internal to libavformat and access from outside is not allowed.  <a href="#a167eec001560f151e6ae0ebb4e2fd0fa">More...</a><br /></td></tr>
<tr class="separator:a167eec001560f151e6ae0ebb4e2fd0fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f82e8f4ffb1ba689bab08592c468298"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a9f82e8f4ffb1ba689bab08592c468298">short_seek_threshold</a></td></tr>
<tr class="memdesc:a9f82e8f4ffb1ba689bab08592c468298"><td class="mdescLeft">&#160;</td><td class="mdescRight">Threshold to favor readahead over seek.  <a href="#a9f82e8f4ffb1ba689bab08592c468298">More...</a><br /></td></tr>
<tr class="separator:a9f82e8f4ffb1ba689bab08592c468298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a574dffd7a2101c2b41fb5fd051f501a0"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a574dffd7a2101c2b41fb5fd051f501a0">protocol_whitelist</a></td></tr>
<tr class="memdesc:a574dffd7a2101c2b41fb5fd051f501a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">',' separated list of allowed protocols.  <a href="#a574dffd7a2101c2b41fb5fd051f501a0">More...</a><br /></td></tr>
<tr class="separator:a574dffd7a2101c2b41fb5fd051f501a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ff42016848ad2bb5219539e8f1289a5"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a7ff42016848ad2bb5219539e8f1289a5">protocol_blacklist</a></td></tr>
<tr class="memdesc:a7ff42016848ad2bb5219539e8f1289a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">',' separated list of disallowed protocols.  <a href="#a7ff42016848ad2bb5219539e8f1289a5">More...</a><br /></td></tr>
<tr class="separator:a7ff42016848ad2bb5219539e8f1289a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af665c7258315b757f3514f6ee4c338b7"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#af665c7258315b757f3514f6ee4c338b7">write_data_type</a> )(void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, uint8_t *buf, int buf_size, enum <a class="el" href="avio_8h.html#a4dbe7c0b3d5c86e46b9991ee805c5e21">AVIODataMarkerType</a> type, int64_t time)</td></tr>
<tr class="memdesc:af665c7258315b757f3514f6ee4c338b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">A callback that is used instead of write_packet.  <a href="#af665c7258315b757f3514f6ee4c338b7">More...</a><br /></td></tr>
<tr class="separator:af665c7258315b757f3514f6ee4c338b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a434053350677c5d2bed3678c79545411"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a434053350677c5d2bed3678c79545411">ignore_boundary_point</a></td></tr>
<tr class="memdesc:a434053350677c5d2bed3678c79545411"><td class="mdescLeft">&#160;</td><td class="mdescRight">If set, don't call write_data_type separately for AVIO_DATA_MARKER_BOUNDARY_POINT, but ignore them and treat them as AVIO_DATA_MARKER_UNKNOWN (to avoid needlessly small chunks of data returned from the callback).  <a href="#a434053350677c5d2bed3678c79545411">More...</a><br /></td></tr>
<tr class="separator:a434053350677c5d2bed3678c79545411"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ff30f754694871e8ac3b3eccdc784a9"><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="avio_8h.html#a4dbe7c0b3d5c86e46b9991ee805c5e21">AVIODataMarkerType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a6ff30f754694871e8ac3b3eccdc784a9">current_type</a></td></tr>
<tr class="memdesc:a6ff30f754694871e8ac3b3eccdc784a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal, not meant to be used from outside of <a class="el" href="structAVIOContext.html" title="Bytestream IO Context. ">AVIOContext</a>.  <a href="#a6ff30f754694871e8ac3b3eccdc784a9">More...</a><br /></td></tr>
<tr class="separator:a6ff30f754694871e8ac3b3eccdc784a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13fd0839be2b03fbb663b91fb4a431de"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a13fd0839be2b03fbb663b91fb4a431de">last_time</a></td></tr>
<tr class="separator:a13fd0839be2b03fbb663b91fb4a431de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95a97850d60ef3e0a518c742b021772f"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a95a97850d60ef3e0a518c742b021772f">short_seek_get</a> )(void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>)</td></tr>
<tr class="memdesc:a95a97850d60ef3e0a518c742b021772f"><td class="mdescLeft">&#160;</td><td class="mdescRight">A callback that is used instead of short_seek_threshold.  <a href="#a95a97850d60ef3e0a518c742b021772f">More...</a><br /></td></tr>
<tr class="separator:a95a97850d60ef3e0a518c742b021772f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70ed80c758a3801219435c2ed7835bce"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a70ed80c758a3801219435c2ed7835bce">written</a></td></tr>
<tr class="separator:a70ed80c758a3801219435c2ed7835bce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51e82bc4929c1041fa7942003c5e1191"><td class="memItemLeft" align="right" valign="top">unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a51e82bc4929c1041fa7942003c5e1191">buf_ptr_max</a></td></tr>
<tr class="memdesc:a51e82bc4929c1041fa7942003c5e1191"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum reached position before a backward seek in the write buffer, used keeping track of already written data for a later flush.  <a href="#a51e82bc4929c1041fa7942003c5e1191">More...</a><br /></td></tr>
<tr class="separator:a51e82bc4929c1041fa7942003c5e1191"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49a9413b9447d88f98450d119dcc476c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVIOContext.html#a49a9413b9447d88f98450d119dcc476c">min_packet_size</a></td></tr>
<tr class="memdesc:a49a9413b9447d88f98450d119dcc476c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Try to buffer at least this amount of data before flushing it.  <a href="#a49a9413b9447d88f98450d119dcc476c">More...</a><br /></td></tr>
<tr class="separator:a49a9413b9447d88f98450d119dcc476c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Bytestream IO Context. </p>
<p>New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVIOContext) must not be used outside libav*.</p>
<dl class="section note"><dt>Note</dt><dd>None of the function pointers in <a class="el" href="structAVIOContext.html" title="Bytestream IO Context. ">AVIOContext</a> should be called directly, they should only be set by the client application when implementing custom I/O. Normally these are set to the function pointers specified in <a class="el" href="avio_8h.html#a853f5149136a27ffba3207d8520172a5" title="Allocate and initialize an AVIOContext for buffered I/O. ">avio_alloc_context()</a> </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="avio_reading_8c-example.html#_a8">avio_reading.c</a>, <a class="el" href="http_multiclient_8c-example.html#_a1">http_multiclient.c</a>, and <a class="el" href="transcode_aac_8c-example.html#_a16">transcode_aac.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00161">161</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a25d3b039ac00850a25d7b772566db6a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25d3b039ac00850a25d7b772566db6a8">&#9670;&nbsp;</a></span>av_class</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structAVClass.html">AVClass</a>* AVIOContext::av_class</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A class for private options. </p>
<p>If this <a class="el" href="structAVIOContext.html" title="Bytestream IO Context. ">AVIOContext</a> is created by <a class="el" href="avio_8h.html#ade8a63980569494c99593ebf0d1e891b" title="Create and initialize a AVIOContext for accessing the resource indicated by url. ">avio_open2()</a>, av_class is set and passes the options down to protocols.</p>
<p>If this <a class="el" href="structAVIOContext.html" title="Bytestream IO Context. ">AVIOContext</a> is manually allocated, then av_class may be set by the caller.</p>
<p>warning &ndash; this field can be NULL, be sure to not pass this <a class="el" href="structAVIOContext.html" title="Bytestream IO Context. ">AVIOContext</a> to any av_opt_* functions in that case. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00174">174</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a901e8fd2b978d40957c4ed0b77c2daf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a901e8fd2b978d40957c4ed0b77c2daf0">&#9670;&nbsp;</a></span>buffer</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* AVIOContext::buffer</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start of the buffer. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="avio_reading_8c-example.html#a21">avio_reading.c</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00226">226</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="avio__reading_8c_source.html#l00057">main()</a>.</p>

</div>
</div>
<a id="a0204148f407d72becba822b90e8ce9a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0204148f407d72becba822b90e8ce9a6">&#9670;&nbsp;</a></span>buffer_size</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::buffer_size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Maximum buffer size. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00227">227</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a3500915a7434270c42dffc80fafffa2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3500915a7434270c42dffc80fafffa2d">&#9670;&nbsp;</a></span>buf_ptr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* AVIOContext::buf_ptr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Current position in the buffer. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00228">228</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a0683d1a134b647c54f6d087d152c9a64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0683d1a134b647c54f6d087d152c9a64">&#9670;&nbsp;</a></span>buf_end</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* AVIOContext::buf_end</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>End of the data, may be less than buffer+buffer_size if the read function returned less data than requested, e.g. </p>
<p>for streams where no more data has been received yet. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00229">229</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="afa97c079a10a48588f7b55f9dfff1e47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa97c079a10a48588f7b55f9dfff1e47">&#9670;&nbsp;</a></span>opaque</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* AVIOContext::opaque</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A private pointer, passed to the read/write/seek/... </p>
<p>functions. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00233">233</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a9be0423e0c66d11d8e0ace043e3aec08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9be0423e0c66d11d8e0ace043e3aec08">&#9670;&nbsp;</a></span>read_packet</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVIOContext::read_packet) (void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, uint8_t *buf, int buf_size)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00235">235</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="afb1f05f0e4e957090ccc23f0b82a0b08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb1f05f0e4e957090ccc23f0b82a0b08">&#9670;&nbsp;</a></span>write_packet</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVIOContext::write_packet) (void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, uint8_t *buf, int buf_size)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00236">236</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a4cda0cd632c90d13a546f663287e6cf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4cda0cd632c90d13a546f663287e6cf5">&#9670;&nbsp;</a></span>seek</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t(* AVIOContext::seek) (void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, int64_t offset, int whence)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00237">237</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a7158ec9b44d75704ea5c2fa5ac28fd50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7158ec9b44d75704ea5c2fa5ac28fd50">&#9670;&nbsp;</a></span>pos</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t AVIOContext::pos</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>position in the file of the current buffer </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00238">238</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a06e6f0186fcf571355cee82e837dc339"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06e6f0186fcf571355cee82e837dc339">&#9670;&nbsp;</a></span>must_flush</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::must_flush</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>unused </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00239">239</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="aa9214f54c01f07076e0a0718b2e9c27b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9214f54c01f07076e0a0718b2e9c27b">&#9670;&nbsp;</a></span>eof_reached</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::eof_reached</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>true if eof reached </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00240">240</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="aab6ff8baf51038f1557e817717baccba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab6ff8baf51038f1557e817717baccba">&#9670;&nbsp;</a></span>write_flag</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::write_flag</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>true if open for writing </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00241">241</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="aca19990941933d7573a485851c6b798e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca19990941933d7573a485851c6b798e">&#9670;&nbsp;</a></span>max_packet_size</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::max_packet_size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00242">242</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a949cd6dbd89e2d5d59f5c768754004ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a949cd6dbd89e2d5d59f5c768754004ca">&#9670;&nbsp;</a></span>checksum</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long AVIOContext::checksum</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00243">243</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a10cbe217c46aeb653d360a9391aff310"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10cbe217c46aeb653d360a9391aff310">&#9670;&nbsp;</a></span>checksum_ptr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* AVIOContext::checksum_ptr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00244">244</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a7ff26703ccfb39cdd38fd49f5a95796c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ff26703ccfb39cdd38fd49f5a95796c">&#9670;&nbsp;</a></span>update_checksum</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long(* AVIOContext::update_checksum) (unsigned long <a class="el" href="structAVIOContext.html#a949cd6dbd89e2d5d59f5c768754004ca">checksum</a>, const uint8_t *buf, unsigned int size)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00245">245</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="afb903b1d9614bfb59e8cc5213de3777b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb903b1d9614bfb59e8cc5213de3777b">&#9670;&nbsp;</a></span>error</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::error</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>contains the error code or 0 if no error happened </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00246">246</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="ae3658a91428df0cfa2b834f6bd7d7bd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3658a91428df0cfa2b834f6bd7d7bd4">&#9670;&nbsp;</a></span>read_pause</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVIOContext::read_pause) (void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, int pause)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pause or resume playback for network streaming protocols - e.g. </p>
<p>MMS. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00250">250</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="ac2e538dd7f6a73cbc77e6ffdf3f11882"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2e538dd7f6a73cbc77e6ffdf3f11882">&#9670;&nbsp;</a></span>read_seek</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t(* AVIOContext::read_seek) (void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, int stream_index, int64_t timestamp, int flags)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Seek to a given timestamp in stream with the specified stream_index. </p>
<p>Needed for some network streaming protocols which don't support seeking to byte position. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00256">256</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a0e3c41c290b38923880b9cccb669bf78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e3c41c290b38923880b9cccb669bf78">&#9670;&nbsp;</a></span>seekable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::seekable</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00261">261</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a33e387aeb28b7a352c62ba8c30a214e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33e387aeb28b7a352c62ba8c30a214e7">&#9670;&nbsp;</a></span>maxsize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t AVIOContext::maxsize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>max filesize, used to limit allocations This field is internal to libavformat and access from outside is not allowed. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00267">267</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="af719be70947f5f8eebaa5f8ac58fd306"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af719be70947f5f8eebaa5f8ac58fd306">&#9670;&nbsp;</a></span>direct</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::direct</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>avio_read and avio_write should if possible be satisfied directly instead of going through a buffer, and avio_seek will always call the underlying seek function directly. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00274">274</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a2685da68190c842c028ec161ff2b563e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2685da68190c842c028ec161ff2b563e">&#9670;&nbsp;</a></span>bytes_read</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t AVIOContext::bytes_read</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bytes read statistic This field is internal to libavformat and access from outside is not allowed. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00280">280</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a38b3c122a21fc2271e3174342e87a79f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38b3c122a21fc2271e3174342e87a79f">&#9670;&nbsp;</a></span>seek_count</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::seek_count</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>seek statistic This field is internal to libavformat and access from outside is not allowed. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00286">286</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="ac027eace34bf1dbcab5f71b0806d1c8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac027eace34bf1dbcab5f71b0806d1c8a">&#9670;&nbsp;</a></span>writeout_count</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::writeout_count</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>writeout statistic This field is internal to libavformat and access from outside is not allowed. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00292">292</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a167eec001560f151e6ae0ebb4e2fd0fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a167eec001560f151e6ae0ebb4e2fd0fa">&#9670;&nbsp;</a></span>orig_buffer_size</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::orig_buffer_size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Original buffer size used internally after probing and ensure seekback to reset the buffer size This field is internal to libavformat and access from outside is not allowed. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00299">299</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a9f82e8f4ffb1ba689bab08592c468298"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f82e8f4ffb1ba689bab08592c468298">&#9670;&nbsp;</a></span>short_seek_threshold</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::short_seek_threshold</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Threshold to favor readahead over seek. </p>
<p>This is current internal only, do not use from outside. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00305">305</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a574dffd7a2101c2b41fb5fd051f501a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a574dffd7a2101c2b41fb5fd051f501a0">&#9670;&nbsp;</a></span>protocol_whitelist</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* AVIOContext::protocol_whitelist</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>',' separated list of allowed protocols. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00310">310</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a7ff42016848ad2bb5219539e8f1289a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ff42016848ad2bb5219539e8f1289a5">&#9670;&nbsp;</a></span>protocol_blacklist</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* AVIOContext::protocol_blacklist</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>',' separated list of disallowed protocols. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00315">315</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="af665c7258315b757f3514f6ee4c338b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af665c7258315b757f3514f6ee4c338b7">&#9670;&nbsp;</a></span>write_data_type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVIOContext::write_data_type) (void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, uint8_t *buf, int buf_size, enum <a class="el" href="avio_8h.html#a4dbe7c0b3d5c86e46b9991ee805c5e21">AVIODataMarkerType</a> type, int64_t time)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A callback that is used instead of write_packet. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00320">320</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a434053350677c5d2bed3678c79545411"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a434053350677c5d2bed3678c79545411">&#9670;&nbsp;</a></span>ignore_boundary_point</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::ignore_boundary_point</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If set, don't call write_data_type separately for AVIO_DATA_MARKER_BOUNDARY_POINT, but ignore them and treat them as AVIO_DATA_MARKER_UNKNOWN (to avoid needlessly small chunks of data returned from the callback). </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00327">327</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a6ff30f754694871e8ac3b3eccdc784a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ff30f754694871e8ac3b3eccdc784a9">&#9670;&nbsp;</a></span>current_type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="avio_8h.html#a4dbe7c0b3d5c86e46b9991ee805c5e21">AVIODataMarkerType</a> AVIOContext::current_type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Internal, not meant to be used from outside of <a class="el" href="structAVIOContext.html" title="Bytestream IO Context. ">AVIOContext</a>. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00332">332</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a13fd0839be2b03fbb663b91fb4a431de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13fd0839be2b03fbb663b91fb4a431de">&#9670;&nbsp;</a></span>last_time</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t AVIOContext::last_time</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00333">333</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a95a97850d60ef3e0a518c742b021772f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95a97850d60ef3e0a518c742b021772f">&#9670;&nbsp;</a></span>short_seek_get</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* AVIOContext::short_seek_get) (void *<a class="el" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A callback that is used instead of short_seek_threshold. </p>
<p>This is current internal only, do not use from outside. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00339">339</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a70ed80c758a3801219435c2ed7835bce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70ed80c758a3801219435c2ed7835bce">&#9670;&nbsp;</a></span>written</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t AVIOContext::written</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00341">341</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a51e82bc4929c1041fa7942003c5e1191"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51e82bc4929c1041fa7942003c5e1191">&#9670;&nbsp;</a></span>buf_ptr_max</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* AVIOContext::buf_ptr_max</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Maximum reached position before a backward seek in the write buffer, used keeping track of already written data for a later flush. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00347">347</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<a id="a49a9413b9447d88f98450d119dcc476c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49a9413b9447d88f98450d119dcc476c">&#9670;&nbsp;</a></span>min_packet_size</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AVIOContext::min_packet_size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Try to buffer at least this amount of data before flushing it. </p>

<p class="definition">Definition at line <a class="el" href="avio_8h_source.html#l00352">352</a> of file <a class="el" href="avio_8h_source.html">avio.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavformat/<a class="el" href="avio_8h_source.html">avio.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>